Opened 14 years ago
Closed 14 years ago
#10045 closed enhancement (fixed)
Trac cannot use a 12-hour clock
Reported by: | anonymous | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Milestone: | 1.0 |
Component: | i18n | Version: | 0.13dev |
Severity: | minor | Keywords: | locale localization clock |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
A 24-hour clock is great, but the United States, where a lot of developers reside, uses a 12-hour clock. I've tried setting locale options to en_US.UTF8, but it doesn't change the time displayed in the Timeline or anywhere else.
There should be a localization option for this.
Attachments (0)
Change History (4)
follow-up: 2 comment:1 by , 14 years ago
Component: | web frontend → i18n |
---|---|
Milestone: | → 0.13 |
Priority: | low → normal |
Version: | → 0.13dev |
comment:2 by , 14 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
Replying to cboos:
In 0.13 this should be possible. However, at the current state we don't use the 12-hour format consistently when the selected language is en_US and the date format is set to Your language settings. The timeline for example still uses a 24-hour clock.
Yes, possible! Committed in [10616]. The timeline page displays time in the your language settings. If en-US, it displays 12-hour clock.
Btw, there's a glitch in the Date & Time Preferences panel, the Data format can be changed but after the change we display always Default date format, not the one that has been chosen.
Sorry, That is a stupid bug, fixed in [10602].
follow-up: 4 comment:3 by , 14 years ago
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Replying to cboos:
Thanks! Also, I think that for the introduction of #2182 to really pay off, we need to support #9777 as well, otherwise people risk to not even see the new formats ;-)
Ok, I agreed ;-) I am working #9777, now. https://github.com/jun66j5/trac/compare/t9777-absolute-datetime.
In 0.13 this should be possible. However, at the current state we don't use the 12-hour format consistently when the selected language is en_US and the date format is set to Your language settings. The timeline for example still uses a 24-hour clock.
Btw, there's a glitch in the Date & Time Preferences panel, the Data format can be changed but after the change we display always Default date format, not the one that has been chosen.