summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-12-22 17:53:51 +0000
committerMatt Wilson <msw@redhat.com>1999-12-22 17:53:51 +0000
commit80af61852858d56cd00f9cc9ba57ff955aabf3ca (patch)
tree02f2e727fc0fb119ae626dca2c62e6914c615a94
parent837a99c18276227142baa35d09bd2a2bfeaf4fd0 (diff)
downloadanaconda-80af61852858d56cd00f9cc9ba57ff955aabf3ca.tar.gz
anaconda-80af61852858d56cd00f9cc9ba57ff955aabf3ca.tar.xz
anaconda-80af61852858d56cd00f9cc9ba57ff955aabf3ca.zip
use Etc/GMT for the UTC settings
-rw-r--r--iw/timezone.py67
1 files changed, 28 insertions, 39 deletions
diff --git a/iw/timezone.py b/iw/timezone.py
index 26fe87b25..489ac686e 100644
--- a/iw/timezone.py
+++ b/iw/timezone.py
@@ -31,47 +31,36 @@ class TimezoneWindow (InstallWindow):
ics.setNextEnabled (1)
ics.readHTML ("timezone")
self.old_page = 0
- self.old_ulist_row = 15 # default to UTC row
+ self.old_ulist_row = 9 # default to UTC row
self.old_use_dst = 0
- self.timeZones = ((("-12:00", ""), ("UTC-12:00", "UTC-12:00")),
- (("-11:00", ""), ("UTC-11:00", "UTC-11:00")),
- (("-10:00", ""), ("UTC-10:00", "UTC-10:00")),
- (("-09:30", ""), ("UTC-09:30", "UTC-09:30")),
- (("-09:00", ""), ("UTC-09:00", "UTC-09:00")),
- (("-08:30", ""), ("UTC-08:30", "UTC-08:30")),
- (("-08:00", "US Pacific"), ("UTC-08:00", "America/Los_Angeles")),
- (("-07:00", "US Mountain"), ("UTC-07:00", "America/Denver")),
- (("-06:00", "US Central"), ("UTC-06:00", "America/Chicago")),
- (("-05:00", "US Eastern"), ("UTC-05:00", "America/New_York")),
- (("-04:00", ""), ("UTC-04:00", "UTC-04:00")),
- (("-03:30", ""), ("UTC-03:30", "UTC-03:30")),
- (("-03:00", ""), ("UTC-03:00", "UTC-03:00")),
- (("-02:00", ""), ("UTC-02:00", "UTC-02:00")),
- (("-01:00", ""), ("UTC-01:00", "UTC-01:00")),
- (("", ""), ("UTC", "UTC")),
- (("+01:00", ""), ("UTC+01:00", "UTC+01:00")),
- (("+02:00", ""), ("UTC+02:00", "UTC+02:00")),
- (("+03:00", ""), ("UTC+03:00", "UTC+03:00")),
- (("+03:30", ""), ("UTC+03:30", "UTC+03:30")),
- (("+04:00", ""), ("UTC+04:00", "UTC+04:00")),
- (("+04:30", ""), ("UTC+04:30", "UTC+04:30")),
- (("+05:00", ""), ("UTC+05:00", "UTC+05:00")),
- (("+05:30", ""), ("UTC+05:30", "UTC+05:30")),
- (("+06:00", ""), ("UTC+06:00", "UTC+06:00")),
- (("+06:30", ""), ("UTC+06:30", "UTC+06:30")),
- (("+07:00", ""), ("UTC+07:00", "UTC+07:00")),
- (("+08:00", ""), ("UTC+08:00", "UTC+08:00")),
- (("+09:00", ""), ("UTC+09:00", "UTC+09:00")),
- (("+09:30", ""), ("UTC+09:30", "UTC+09:30")),
- (("+10:00", ""), ("UTC+10:00", "UTC+10:00")),
- (("+10:30", ""), ("UTC+10:30", "UTC+10:30")),
- (("+11:00", ""), ("UTC+11:00", "UTC+11:00")),
- (("+11:30", ""), ("UTC+11:30", "UTC+11:30")),
- (("+12:00", ""), ("UTC+12:00", "UTC+12:00")),
- (("+13:00", ""), ("UTC+13:00", "UTC+13:00")),
- (("+14:00", ""), ("UTC+14:00", "UTC+14:00")))
-
+ self.timeZones = ((("-14", ""), ("Etc/GMT-14", "Etc/GMT-14")),
+ (("-13", ""), ("Etc/GMT-13", "Etc/GMT-13")),
+ (("-12", ""), ("Etc/GMT-12", "Etc/GMT-12")),
+ (("-11", ""), ("Etc/GMT-11", "Etc/GMT-11")),
+ (("-10", ""), ("Etc/GMT-10", "Etc/GMT-10")),
+ (("-09", ""), ("Etc/GMT-09", "Etc/GMT-09")),
+ (("-08", "US Pacific"), ("Etc/GMT-08", "America/Los_Angeles")),
+ (("-07", "US Mountain"), ("Etc/GMT-07", "America/Denver")),
+ (("-06", "US Central"), ("Etc/GMT-06", "America/Chicago")),
+ (("-05", "US Eastern"), ("Etc/GMT-05", "America/New_York")),
+ (("-04", ""), ("Etc/GMT-04", "Etc/GMT-04")),
+ (("-03", ""), ("Etc/GMT-03", "Etc/GMT-03")),
+ (("-02", ""), ("Etc/GMT-02", "Etc/GMT-02")),
+ (("-01", ""), ("Etc/GMT-01", "Etc/GMT-01")),
+ (("", ""), ("Etc/GMT", "Etc/GMT")),
+ (("+01", ""), ("Etc/GMT+01", "Etc/GMT+01")),
+ (("+02", ""), ("Etc/GMT+02", "Etc/GMT+02")),
+ (("+03", ""), ("Etc/GMT+03", "Etc/GMT+03")),
+ (("+04", ""), ("Etc/GMT+04", "Etc/GMT+04")),
+ (("+05", ""), ("Etc/GMT+05", "Etc/GMT+05")),
+ (("+06", ""), ("Etc/GMT+06", "Etc/GMT+06")),
+ (("+07", ""), ("Etc/GMT+07", "Etc/GMT+07")),
+ (("+08", ""), ("Etc/GMT+08", "Etc/GMT+08")),
+ (("+09", ""), ("Etc/GMT+09", "Etc/GMT+09")),
+ (("+10", ""), ("Etc/GMT+10", "Etc/GMT+10")),
+ (("+11", ""), ("Etc/GMT+11", "Etc/GMT+11")),
+ (("+12", ""), ("Etc/GMT+12", "Etc/GMT+12")))
def getNext (self):
if not self.__dict__.has_key('list'): return None