#72 display time in UTC and ISO-style
Closed: Fixed None Opened 16 years ago by till.

Currently the dates on hosted.fedoraproject.org are in US style and I guess the timezone is an US one, too. For people outside the US this is not very easy to read. So please display the time and date in UTC and ISO style, e.g.

2007-07-24

Maybe the ISO style date will be displayed, when you add to tracs enviroment:
LC_TIME=en_DK


I'm following this - http://trac.macosforge.org/projects/macports/ticket/10811

If there is a way we can do this without putting our installation at risk, let me know.

Adding {{{LC_TIME=en_DK.utf8}}} to tracs enviroment should work, I guess it is {{{SetEnv LC_TIME "en_DK.utf8"}}} in your apache config next to the {{{SetEnv TRAC_ENV}}} statement. Omitting the .utf8 suffix here on Centos 5 breaks trac.

In case anyone else runs across this ticket I ended up having to blend a couple of solutions I found from google with the suggestion above:

PythonOption TracLocale 'en_DK.utf8'

Login to comment on this ticket.

Metadata