Comment #6 on issue 1038 by erichuss: Add time zone to settings page.
http://code.google.com/p/reviewboard/issues/detail?id=1038

I think I have the latest (r12061).  I can at least see in  
django_settings.py that in
apply_django_settings it's going to matter what order the two TIME_ZONE  
settings show
up (it takes the last value).  So if it happens to come out of the  
dictionary as

'locale_timezone':             { 'key': 'TIME_ZONE',
                                      'deserialize_func': str },
'locale_time_zone':            'TIME_ZONE',

or

'locale_time_zone':            'TIME_ZONE',
'locale_timezone':             { 'key': 'TIME_ZONE',
                                      'deserialize_func': str },

the last one will win.  It happens to come out in the right order on my  
system (the
second case), but that is not very reliable.

Also, due to the way that the siteconfig middleware works, just setting  
TIME_ZONE on
the django settings object will not affect the system timezone.  The  
Settings object
only does that during __init__.  It will need to update the environment  
variable and
call tzset somehow.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to