Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui): format time with system locale default #617

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

JunkFood02
Copy link
Collaborator

Instead of adding an option to configure the time format, this PR make the time to be formatted according to the app's locale and the system's 12-/24-hour clock preference.

Examples:

  • 24-hour format for Japan/US: 13:00
  • 12-hour format for Japan: 午後1:30 (instead of 1:30 午後 when using hh:mm a for formatting)
  • 12-hour format for US: 1:30 PM

Close #98

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.

Add an option to change the time format
2 participants