Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Set default timezone to UTC.

Some systems, such as FreeBSD, don't have "US/Pacific" in their time zone list.
Especially since we'll be committing user-configurable time zones soon, we want
the system default to be UTC.

Fixes bug 2185.
Based on a submission by Xiaodong Xu at http://reviews.reviewboard.org/r/2760/
  • Loading branch information...
commit b0d02285e8e18d6e4dfbf6912bb0ab9a68da716e 1 parent 08c2af6
David Trowbridge authored January 21, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  reviewboard/settings.py
4  reviewboard/settings.py
@@ -18,8 +18,8 @@
18 18
 MANAGERS = ADMINS
19 19
 
20 20
 # Local time zone for this installation. All choices can be found here:
21  
-# http://www.postgresql.org/docs/current/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
22  
-TIME_ZONE = 'US/Pacific'
  21
+# http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
  22
+TIME_ZONE = 'UTC'
23 23
 
24 24
 # Language code for this installation. All choices can be found here:
25 25
 # http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes

0 notes on commit b0d0228

Please sign in to comment.
Something went wrong with that request. Please try again.