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

This doesn't quite work for me.  Changing the value doesn't seem to make  
any impact.
  I've tried to unravel it because it seems like there are a couple of  
issues.

1. There appears to be a bug in djblets/siteconfig/django_settings.py.   
TIME_ZONE is
listed twice, and I think it is referencing the one with locale_time_zone  
which is
incorrect (admin/forms.py is locale_timezone without an underscore).  I'm  
not exactly
sure which one is correct, it's not clear to me how djblets is updating
django.conf.settings.

2. Due to the way the timezone is set (in django.conf it updates  
os.environ['TZ'] and
calls tzset), it's not picking up the change due to the way djblets is  
overriding
django.conf.settings.  In the debugger, I can see  
django.conf.settings.TIME_ZONE is
correct (after fixing the issue in #1), but os.environ['TZ'] is not  
updated.  It
doesn't work even if I restart the webserver.


--
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to