Skip to content

docs(NcDateTimePickerNative): clarify local timezone conversion behavior#8372

Open
joshtrichards wants to merge 2 commits intonextcloud-libraries:mainfrom
joshtrichards:jtr/docs-DTNP-timezone
Open

docs(NcDateTimePickerNative): clarify local timezone conversion behavior#8372
joshtrichards wants to merge 2 commits intonextcloud-libraries:mainfrom
joshtrichards:jtr/docs-DTNP-timezone

Conversation

@joshtrichards
Copy link
Copy Markdown

☑️ Resolves

Clarify the NcDateTimePickerNative documentation comment to reflect actual behavior more accurately.

The component interprets values in the browser's local timezone and converts between the native input value and a JavaScript Date using that local timezone context. The updated comment also makes it clearer that consumers must handle conversion themselves if they need a timezone other than the browser's local one.

🖼️ Screenshots

🏚️ Before 🏡 After
B A

🚧 Tasks

  • ...

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable
  • 2️⃣ Backport to stable8 for maintained Vue 2 version or not applicable

Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant