Thomas Nilsson's picture

I have not been able to change the date/time format in Turnkey Trac from the default US format. The global locale in Ubuntu is set to sv_SE.UTF-8 but this seems to have no effect in Apache and Trac. The TK setup is a little different from my previous installations of Apache and Trac so I am confused about where to add a SetEnv variable (if that is the way to do it). Any help would be appreciated.

/Tom

Forum: 
Tags: 
Jeremy Davis's picture

Have a look at /etc/apache2/apache2.conf to be precise.

The Trac FAQ should help with the details of what needs changing.

Thomas Nilsson's picture

Adding this line in trac.wsgi solved the problem:

environ['trac.locale'] = 'sv_SE.UTF-8'

Thanks for pointing me in the right direction! :)

/Tom


Add new comment