Edgewall Software
Modify

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)

comment:1 by Christian Boos, 14 years ago

Component: web frontendi18n
Milestone: 0.13
Priority: lownormal
Version: 0.13dev

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.

in reply to:  1 comment:2 by Jun Omae, 14 years ago

Owner: set to Jun Omae
Status: newassigned

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].

comment:3 by Christian Boos, 14 years ago

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 ;-)

in reply to:  3 comment:4 by Jun Omae, 14 years ago

Resolution: fixed
Status: assignedclosed

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.

Last edited 14 years ago by Jun Omae (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jun Omae to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.