summaryrefslogtreecommitdiff
path: root/xs_time.h
diff options
context:
space:
mode:
Diffstat (limited to 'xs_time.h')
-rw-r--r--xs_time.h65
1 files changed, 58 insertions, 7 deletions
diff --git a/xs_time.h b/xs_time.h
index 4da9463..a5792bc 100644
--- a/xs_time.h
+++ b/xs_time.h
@@ -116,7 +116,65 @@ struct {
116 const char *tz; /* timezone name */ 116 const char *tz; /* timezone name */
117 float h_offset; /* hour offset */ 117 float h_offset; /* hour offset */
118} xs_tz[] = { 118} xs_tz[] = {
119 { "UTC", 0 },
120 { "WET (Western European Time)", 0 },
121 { "WEST (Western European Summer Time)", 1 },
122 { "CET (Central European Time)", 1 },
123 { "CEST (Central European Summer Time)", 2 },
124 { "EET (Eastern European Time)", 2 },
125 { "EEST (Eastern European Summer Time)", 3 },
126 { "MSK (Moskow Time Zone)", 3 },
127 { "EST (Eastern Time Zone)", -5 },
128 { "AST (Atlantic Time Zone)", -4 },
129 { "ADT (Atlantic Daylight Time Zone)", -3 },
130 { "CST (Central Time Zone)", -6 },
131 { "CDT (Central Daylight Time Zone)", -5 },
132 { "MST (Mountain Time Zone)", -7 },
133 { "MDT (Mountain Daylight Time Zone)", -6 },
134 { "PST (Pacific Time Zone)", -8 },
135 { "PDT (Pacific Daylight Time Zone)", -7 },
136 { "AKST (Alaska Time Zone)", -9 },
137 { "AKDT (Alaska Daylight Time Zone)", -8 },
138 { "China Time Zone", 8 },
139 { "IST (Israel Standard Time)", 2 },
140 { "IDT (Israel Daylight Standard Time)", 3 },
141 { "WIB (Western Indonesia Time)", 7 },
142 { "WITA (Central Indonesia Time)", 8 },
143 { "WIT (Eastern Indonesia Time)", 9 },
144 { "AWST (Australian Western Time)", 8 },
145 { "ACST (Australian Eastern Time)", 9.5 },
146 { "ACDT (Australian Daylight Eastern Time)", 10.5 },
147 { "AEST (Australian Eastern Time)", 10 },
148 { "AEDT (Australian Daylight Eastern Time)", 11 },
149 { "NZST (New Zealand Time)", 12 },
150 { "NZDT (New Zealand Daylight Time)", 13 },
119 { "UTC", 0 }, 151 { "UTC", 0 },
152 { "UTC+1", 1 },
153 { "UTC+2", 2 },
154 { "UTC+3", 3 },
155 { "UTC+4", 4 },
156 { "UTC+5", 5 },
157 { "UTC+6", 6 },
158 { "UTC+7", 7 },
159 { "UTC+8", 8 },
160 { "UTC+9", 9 },
161 { "UTC+10", 10 },
162 { "UTC+11", 11 },
163 { "UTC+12", 12 },
164 { "UTC-1", -1 },
165 { "UTC-2", -2 },
166 { "UTC-3", -3 },
167 { "UTC-4", -4 },
168 { "UTC-5", -5 },
169 { "UTC-6", -6 },
170 { "UTC-7", -7 },
171 { "UTC-8", -8 },
172 { "UTC-9", -9 },
173 { "UTC-10", -10 },
174 { "UTC-11", -11 },
175 { "UTC-12", -12 },
176 { "UTC-13", -13 },
177 { "UTC-14", -14 },
120 { "GMT", 0 }, 178 { "GMT", 0 },
121 { "GMT+1", -1 }, 179 { "GMT+1", -1 },
122 { "GMT+2", -2 }, 180 { "GMT+2", -2 },
@@ -144,13 +202,6 @@ struct {
144 { "GMT-12", 12 }, 202 { "GMT-12", 12 },
145 { "GMT-13", 13 }, 203 { "GMT-13", 13 },
146 { "GMT-14", 14 }, 204 { "GMT-14", 14 },
147 { "GMT-15", 15 },
148 { "WET", 0 },
149 { "CET", -1 },
150 { "AST", -4 },
151 { "CST", -6 },
152 { "MST", -7 },
153 { "PST", -8 },
154 { NULL, 0 } 205 { NULL, 0 }
155}; 206};
156 207