8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.114 2003/08/25 22:47:34 tgl Exp $
11
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.115 2003/08/25 23:30:27 tgl Exp $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
@@ -82,7 +82,7 @@ char *days[] = {"Sunday", "Monday", "Tuesday", "Wednesday",
82
82
* which are 30 or 45 minutes away from an even hour, most are on an hour
83
83
* boundary, and none on other boundaries.
84
84
*
85
- * Let's include all strings from my current zinc time zone database.
85
+ * Let's include all strings from my current zic time zone database.
86
86
* Not all of them are unique, or even very understandable, so we will
87
87
* leave some commented out for now.
88
88
*/
@@ -91,8 +91,8 @@ static datetkn datetktbl[] = {
91
91
{EARLY , RESERV , DTK_EARLY }, /* "-infinity" reserved for "early time" */
92
92
{"abstime" , IGNORE_DTF , 0 }, /* for pre-v6.1 "Invalid Abstime" */
93
93
{"acsst" , DTZ , POS (42 )}, /* Cent. Australia */
94
- {"acst" , DTZ , NEG (16 )}, /* Atlantic/Porto Acre */
95
- {"act" , TZ , NEG (20 )}, /* Atlantic/Porto Acre */
94
+ {"acst" , DTZ , NEG (16 )}, /* Atlantic/Porto Acre Summer Time */
95
+ {"act" , TZ , NEG (20 )}, /* Atlantic/Porto Acre Time */
96
96
{DA_D , ADBC , AD }, /* "ad" for years >= 0 */
97
97
{"adt" , DTZ , NEG (12 )}, /* Atlantic Daylight Time */
98
98
{"aesst" , DTZ , POS (44 )}, /* E. Australia */
@@ -107,9 +107,12 @@ static datetkn datetktbl[] = {
107
107
{"am" , AMPM , AM },
108
108
{"amst" , DTZ , POS (20 )}, /* Armenia Summer Time (Yerevan) */
109
109
#if 0
110
- {"amst" , DTZ , NEG (12 )}, /* Porto Velho */
110
+ {"amst" , DTZ , NEG (12 )}, /* Amazon Summer Time ( Porto Velho) */
111
111
#endif
112
112
{"amt" , TZ , POS (16 )}, /* Armenia Time (Yerevan) */
113
+ #if 0
114
+ {"amt" , TZ , NEG (16 )}, /* Amazon Time (Porto Velho) */
115
+ #endif
113
116
{"anast" , DTZ , POS (52 )}, /* Anadyr Summer Time (Russia) */
114
117
{"anat" , TZ , POS (48 )}, /* Anadyr Time (Russia) */
115
118
{"apr" , MONTH , 4 },
@@ -147,10 +150,8 @@ static datetkn datetktbl[] = {
147
150
#endif
148
151
{"bot" , TZ , NEG (16 )}, /* Bolivia Time */
149
152
{"bra" , TZ , NEG (12 )}, /* Brazil Time */
150
- #if 0
151
- brst
152
- brt
153
- #endif
153
+ {"brst" , DTZ , NEG (8 )}, /* Brasilia Summer Time */
154
+ {"brt" , TZ , NEG (12 )}, /* Brasilia Time */
154
155
{"bst" , DTZ , POS (4 )}, /* British Summer Time */
155
156
#if 0
156
157
{"bst" , TZ , NEG (12 )}, /* Brazil Standard Time */
@@ -226,10 +227,8 @@ static datetkn datetktbl[] = {
226
227
{"fjt" , TZ , NEG (48 )}, /* Fiji Time */
227
228
{"fkst" , DTZ , NEG (12 )}, /* Falkland Islands Summer Time */
228
229
{"fkt" , TZ , NEG (8 )}, /* Falkland Islands Time */
229
- #if 0
230
- fnst
231
- fnt
232
- #endif
230
+ {"fnst" , DTZ , NEG (4 )}, /* Fernando de Noronha Summer Time */
231
+ {"fnt" , TZ , NEG (8 )}, /* Fernando de Noronha Time */
233
232
{"fri" , DOW , 5 },
234
233
{"friday" , DOW , 5 },
235
234
{"fst" , TZ , POS (4 )}, /* French Summer Time */
@@ -324,7 +323,7 @@ static datetkn datetktbl[] = {
324
323
{"mez" , TZ , POS (4 )}, /* Middle Europe Zone */
325
324
{"mht" , TZ , POS (48 )}, /* Kwajalein */
326
325
{"mm" , UNITS , DTK_MINUTE }, /* "minute" for ISO input */
327
- {"mmt" , TZ , POS (26 )}, /* Myannar Time */
326
+ {"mmt" , TZ , POS (26 )}, /* Myanmar Time */
328
327
{"mon" , DOW , 1 },
329
328
{"monday" , DOW , 1 },
330
329
#if 0
0 commit comments