How to set time zone in Trac?

I am struggling with setting time zones using Trac. I searched but found nothing. What can I do?

It would be useful to use both the time zone of the entire site and the time zone settings for each user.

+3
source share
3 answers

The default time zone for the entire site is set to trac.ini:

[trac]
default_timezone = ...

In the user’s settings, you have preferences by date ( «base_url» /prefs/datetime), where the user can set his time zone for each user.

See for example http://trac.edgewall.org/prefs/localization

+3
source

As pointed out by others, the solution is to add this to trac.ini:

[trac]
default_timezone = ...

(. http://trac.edgewall.org/ticket/9581):

+5

To set the default time zone for a site, edit trac.iniwith the following syntax:

[trac]
default_timezone = GMT +10:00

or

[trac]
default_timezone = GMT -7:00
0
source

Source: https://habr.com/ru/post/1706031/


All Articles