Skip to content

Draft AB#890 Datetimepicker refactor - #6233

Draft
hjvuor wants to merge 12 commits into
v3from
AB#890-datetimepicker-refactor
Draft

hjvuor wants to merge 12 commits into
v3from
AB#890-datetimepicker-refactor

Conversation

@hjvuor

@hjvuor hjvuor commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Proposed Changes

  • Moves getDateDisplay and getTimeDisplay into utils so they can be reused without prop drilling.
  • Set luxon.Settings.defaultLocale and defaultZone once on mount instead of every component setting those redundantly.
  • bind useTranslation() to the selected language so t() can be used without options

Pull Request Check List

  • A reasonable set of unit tests is included
  • Console does not show new warnings/errors
  • Changes are documented or they are self explanatory
  • This pull request does not have any merge conflicts
  • All existing tests pass in CI build

Review

  • Read and verify the code changes
  • Test the functionality by running the UI locally with all popular browsers available in your platform
  • Check that the implementation matches the design, when such one is defined in an issue in Azure Boards
  • Merge the pull request

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.

2 participants