Commit c1911c94 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Add a large number of time zones to the lookup table.

Fix a few apparently-wrong TZ vs DTZ declarations.
parent 73a947bd
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.87 2002/01/01 02:54:27 thomas Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.88 2002/02/25 16:17:04 thomas Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -95,17 +95,22 @@ static datetkn datetktbl[] = { ...@@ -95,17 +95,22 @@ static datetkn datetktbl[] = {
{"almt", TZ, 36}, /* Almaty Time */ {"almt", TZ, 36}, /* Almaty Time */
{"almst", TZ, 42}, /* Almaty Savings Time */ {"almst", TZ, 42}, /* Almaty Savings Time */
{"am", AMPM, AM}, {"am", AMPM, AM},
{"amst", DTZ, 30}, /* Armenia Summer Time (Yerevan) */
{"amt", TZ, 24}, /* Armenia Time (Yerevan) */
#if 0 #if 0
{"amst", DTZ, 30}, /* Yerevan */
{"amst", DTZ, NEG(18)}, /* Porto Velho */ {"amst", DTZ, NEG(18)}, /* Porto Velho */
amt #endif
anast {"anast", DTZ, 78}, /* Anadyr Summer Time (Russia) */
anat {"anat", TZ, 72}, /* Anadyr Time (Russia) */
#if 0
aqtst aqtst
aqtt aqtt
arst arst
art #endif
{"art", TZ, NEG(18)}, /* Argentina Time */
#if 0
ashst ashst
ast /* Atlantic Standard Time, Arabia Standard Time, Acre Standard Time */
#endif #endif
{"apr", MONTH, 4}, {"apr", MONTH, 4},
{"april", MONTH, 4}, {"april", MONTH, 4},
...@@ -116,33 +121,36 @@ ashst ...@@ -116,33 +121,36 @@ ashst
{"awsst", DTZ, 54}, /* W. Australia */ {"awsst", DTZ, 54}, /* W. Australia */
{"awst", TZ, 48}, /* W. Australia */ {"awst", TZ, 48}, /* W. Australia */
{"awt", DTZ, NEG(18)}, {"awt", DTZ, NEG(18)},
#if 0 {"azost", DTZ, 0}, /* Azores Summer Time */
azost {"azot", TZ, NEG(6)}, /* Azores Time */
azot {"azst", DTZ, 30}, /* Azerbaijan Summer Time */
azst {"azt", TZ, 24}, /* Azerbaijan Time */
azt
#endif
{DB_C, ADBC, BC}, /* "bc" for years < 0 */ {DB_C, ADBC, BC}, /* "bc" for years < 0 */
{"bdst", TZ, 12}, /* British Double Summer Time */ {"bdst", TZ, 12}, /* British Double Summer Time */
{"bdt", TZ, 36}, /* Dacca */ {"bdt", TZ, 36}, /* Dacca */
{"bnt", TZ, 48}, /* Brunei Darussalam Time */
{"bort", TZ, 48}, /* Borneo Time (Indonesia) */
#if 0 #if 0
bnt
bort
bortst bortst
bost bost
bot #endif
{"bot", TZ, NEG(24)}, /* Bolivia Time */
{"bra", TZ, NEG(18)}, /* Brazil Time */
#if 0
brst brst
brt brt
#endif #endif
{"bst", TZ, 6}, /* British Summer Time */ {"bst", DTZ, 6}, /* British Summer Time */
{"bt", TZ, 18}, /* Baghdad Time */
#if 0 #if 0
btt {"bst", TZ, NEG(18)}, /* Brazil Standard Time */
{"bst", DTZ, NEG(66)}, /* Bering Summer Time */
#endif #endif
{"bt", TZ, 18}, /* Baghdad Time */
{"btt", TZ, 36}, /* Bhutan Time */
{"cadt", DTZ, 63}, /* Central Australian DST */ {"cadt", DTZ, 63}, /* Central Australian DST */
{"cast", TZ, 57}, /* Central Australian ST */ {"cast", TZ, 57}, /* Central Australian ST */
{"cat", TZ, NEG(60)}, /* Central Alaska Time */ {"cat", TZ, NEG(60)}, /* Central Alaska Time */
{"cct", TZ, 48}, /* China Coast */ {"cct", TZ, 48}, /* China Coast Time */
#if 0 #if 0
{"cct", TZ, 39}, /* Indian Cocos (Island) Time */ {"cct", TZ, 39}, /* Indian Cocos (Island) Time */
#endif #endif
...@@ -151,27 +159,27 @@ btt ...@@ -151,27 +159,27 @@ btt
{"cet", TZ, 6}, /* Central European Time */ {"cet", TZ, 6}, /* Central European Time */
{"cetdst", DTZ, 12}, /* Central European Dayl.Time */ {"cetdst", DTZ, 12}, /* Central European Dayl.Time */
#if 0 #if 0
chadt {"chadt", DTZ, 82}, /* Chatham Island Daylight Time (13:45? set to 13:40) */
chast {"chast", TZ, 76}, /* Chatham Island Time (12:45? set to 12:40) */
ckhst ckhst
ckt #endif
clst {"ckt", TZ, 72}, /* Cook Islands Time */
clt {"clst", DTZ, NEG(18)}, /* Chile Summer Time */
{"clt", TZ, NEG(24)}, /* Chile Time */
#if 0
cost cost
cot
#endif #endif
{"cot", TZ, NEG(30)}, /* Columbia Time */
{"cst", TZ, NEG(36)}, /* Central Standard Time */ {"cst", TZ, NEG(36)}, /* Central Standard Time */
#if 0 #if 0
cvst cvst
cvt
#endif #endif
{"cxt", TZ, 42}, /* Indian Christmas (Island) Time */ {"cvt", TZ, 42}, /* Christmas Island Time (Indian Ocean) */
{"cxt", TZ, 42}, /* Christmas Island Time (Indian Ocean) */
{DCURRENT, RESERV, DTK_CURRENT}, /* "current" is always now */ {DCURRENT, RESERV, DTK_CURRENT}, /* "current" is always now */
{"d", UNITS, DTK_DAY}, /* "day of month" for ISO input */ {"d", UNITS, DTK_DAY}, /* "day of month" for ISO input */
#if 0 {"davt", TZ, 42}, /* Davis Time (Antarctica) */
davt {"ddut", TZ, 60}, /* Dumont-d'Urville Time (Antarctica) */
ddut
#endif
{"dec", MONTH, 12}, {"dec", MONTH, 12},
{"december", MONTH, 12}, {"december", MONTH, 12},
{"dnt", TZ, 6}, /* Dansk Normal Tid */ {"dnt", TZ, 6}, /* Dansk Normal Tid */
...@@ -180,34 +188,34 @@ ddut ...@@ -180,34 +188,34 @@ ddut
{"dst", DTZMOD, 6}, {"dst", DTZMOD, 6},
#if 0 #if 0
{"dusst", DTZ, 36}, /* Dushanbe Summer Time */ {"dusst", DTZ, 36}, /* Dushanbe Summer Time */
{"easst", DTZ, NEG(30)}, /* Easter Island */
{"east", TZ, NEG(36)}, /* Easter Island */
#endif #endif
{"east", TZ, 24}, /* Indian Antananarivo Savings Time */ {"easst", DTZ, NEG(30)}, /* Easter Island Summer Time */
{"eat", TZ, 18}, /* Indian Antananarivo Time */ {"east", TZ, NEG(36)}, /* Easter Island Time */
{"eat", TZ, 18}, /* East Africa Time */
#if 0 #if 0
ect {"east", DTZ, 24}, /* Indian Antananarivo Savings Time */
{"eat", TZ, 18}, /* Indian Antananarivo Time */
{"ect", TZ, NEG(24)}, /* Eastern Caribbean Time */
{"ect", TZ, NEG(30)}, /* Ecuador Time */
#endif #endif
{"edt", DTZ, NEG(24)}, /* Eastern Daylight Time */ {"edt", DTZ, NEG(24)}, /* Eastern Daylight Time */
#if 0 {"eest", DTZ, 18}, /* Eastern Europe Summer Time */
eest
#endif
{"eet", TZ, 12}, /* East. Europe, USSR Zone 1 */ {"eet", TZ, 12}, /* East. Europe, USSR Zone 1 */
{"eetdst", DTZ, 18}, /* Eastern Europe */ {"eetdst", DTZ, 18}, /* Eastern Europe Daylight Time */
{"egst", DTZ, 0}, /* East Greenland Summer Time */
{"egt", TZ, NEG(6)}, /* East Greenland Time */
#if 0 #if 0
egst
egt
ehdt ehdt
#endif #endif
{EPOCH, RESERV, DTK_EPOCH}, /* "epoch" reserved for system epoch time */ {EPOCH, RESERV, DTK_EPOCH}, /* "epoch" reserved for system epoch time */
{"est", TZ, NEG(30)}, /* Eastern Standard Time */ {"est", TZ, NEG(30)}, /* Eastern Standard Time */
{"feb", MONTH, 2}, {"feb", MONTH, 2},
{"february", MONTH, 2}, {"february", MONTH, 2},
{"fjst", DTZ, NEG(78)}, /* Fiji Summer Time (13 hour offset!) */
{"fjt", TZ, NEG(72)}, /* Fiji Time */
{"fkst", DTZ, NEG(18)}, /* Falkland Islands Summer Time */
{"fkt", TZ, NEG(12)}, /* Falkland Islands Time */
#if 0 #if 0
fjst
fjt
fkst
fkt
fnst fnst
fnt fnt
#endif #endif
...@@ -215,52 +223,50 @@ fnt ...@@ -215,52 +223,50 @@ fnt
{"friday", DOW, 5}, {"friday", DOW, 5},
{"fst", TZ, 6}, /* French Summer Time */ {"fst", TZ, 6}, /* French Summer Time */
{"fwt", DTZ, 12}, /* French Winter Time */ {"fwt", DTZ, 12}, /* French Winter Time */
{"galt", TZ, NEG(36)}, /* Galapagos Time */
{"gamt", TZ, NEG(54)}, /* Gambier Time */
{"gest", DTZ, 30}, /* Georgia Summer Time */
{"get", TZ, 24}, /* Georgia Time */
{"gft", TZ, NEG(18)}, /* French Guiana Time */
#if 0 #if 0
galt
gamt
gest
get
gft
ghst ghst
gilt
#endif #endif
{"gilt", TZ, 72}, /* Gilbert Islands Time */
{"gmt", TZ, 0}, /* Greenwish Mean Time */ {"gmt", TZ, 0}, /* Greenwish Mean Time */
{"gst", TZ, 60}, /* Guam Std Time, USSR Zone 9 */ {"gst", TZ, 60}, /* Guam Std Time, USSR Zone 9 */
#if 0 {"gyt", TZ, NEG(24)}, /* Guyana Time */
gyt
#endif
{"h", UNITS, DTK_HOUR}, /* "hour" */ {"h", UNITS, DTK_HOUR}, /* "hour" */
#if 0 #if 0
hadt hadt
hast hast
#endif #endif
{"hdt", DTZ, NEG(54)}, /* Hawaii/Alaska */ {"hdt", DTZ, NEG(54)}, /* Hawaii/Alaska Daylight Time */
#if 0 #if 0
hkst hkst
hkt
#endif #endif
{"hmt", DTZ, 18}, /* Hellas ? ? */ {"hkt", TZ, 48}, /* Hong Kong Time */
#if 0 #if 0
{"hmt", TZ, 18}, /* Hellas ? ? */
hovst hovst
hovt hovt
#endif #endif
{"hst", TZ, NEG(60)}, /* Hawaii Std Time */ {"hst", TZ, NEG(60)}, /* Hawaii Std Time */
#if 0 #if 0
hwt hwt
ict
#endif #endif
{"ict", TZ, 42}, /* Indochina Time */
{"idle", TZ, 72}, /* Intl. Date Line, East */ {"idle", TZ, 72}, /* Intl. Date Line, East */
{"idlw", TZ, NEG(72)}, /* Intl. Date Line, West */ {"idlw", TZ, NEG(72)}, /* Intl. Date Line, West */
#if 0 #if 0
idt idt /* Israeli, Iran, Indian Daylight Time */
#endif #endif
{LATE, RESERV, DTK_LATE}, /* "infinity" reserved for "late time" */ {LATE, RESERV, DTK_LATE}, /* "infinity" reserved for "late time" */
{INVALID, RESERV, DTK_INVALID}, /* "invalid" reserved for bad time */ {INVALID, RESERV, DTK_INVALID}, /* "invalid" reserved for bad time */
{"iot", TZ, 30}, /* Indian Chagos Time */ {"iot", TZ, 30}, /* Indian Chagos Time */
{"irkst", DTZ, 54}, /* Irkutsk Summer Time */
{"irkt", TZ, 48}, /* Irkutsk Time */
{"irt", TZ, 21}, /* Iran Time */
#if 0 #if 0
irkst
irkt
irt
isst isst
#endif #endif
{"ist", TZ, 12}, /* Israel */ {"ist", TZ, 12}, /* Israel */
...@@ -268,45 +274,34 @@ isst ...@@ -268,45 +274,34 @@ isst
{"j", UNITS, DTK_JULIAN}, {"j", UNITS, DTK_JULIAN},
{"jan", MONTH, 1}, {"jan", MONTH, 1},
{"january", MONTH, 1}, {"january", MONTH, 1},
#if 0 {"javt", TZ, 42}, /* Java Time (07:00? see JT) */
javt {"jayt", TZ, 54}, /* Jayapura Time (Indonesia) */
jayt
#endif
{"jd", UNITS, DTK_JULIAN}, {"jd", UNITS, DTK_JULIAN},
{"jst", TZ, 54}, /* Japan Std Time,USSR Zone 8 */ {"jst", TZ, 54}, /* Japan Std Time,USSR Zone 8 */
{"jt", TZ, 45}, /* Java Time */ {"jt", TZ, 45}, /* Java Time (07:30? see JAVT) */
{"jul", MONTH, 7}, {"jul", MONTH, 7},
{"julian", UNITS, DTK_JULIAN}, {"julian", UNITS, DTK_JULIAN},
{"july", MONTH, 7}, {"july", MONTH, 7},
{"jun", MONTH, 6}, {"jun", MONTH, 6},
{"june", MONTH, 6}, {"june", MONTH, 6},
#if 0 {"kdt", DTZ, 60}, /* Korea Daylight Time */
kdt {"kgst", DTZ, 36}, /* Kyrgyzstan Summer Time */
kgst {"kgt", TZ, 30}, /* Kyrgyzstan Time */
kgt {"kost", TZ, 72}, /* Kosrae Time */
kost {"krast", DTZ, 42}, /* Krasnoyarsk Summer Time */
krast {"krat", TZ, 48}, /* Krasnoyarsk Standard Time */
krat
#endif
{"kst", TZ, 54}, /* Korea Standard Time */ {"kst", TZ, 54}, /* Korea Standard Time */
#if 0 {"lhdt", DTZ, 66}, /* Lord Howe Daylight Time, Australia */
lhst {"lhst", TZ, 63}, /* Lord Howe Standard Time, Australia */
#endif
{"ligt", TZ, 60}, /* From Melbourne, Australia */ {"ligt", TZ, 60}, /* From Melbourne, Australia */
#if 0 {"lint", TZ, 84}, /* Line Islands Time (Kiribati; +14 hours!) */
lint {"lkt", TZ, 36}, /* Lanka Time */
lkt
#endif
{"m", UNITS, DTK_MONTH}, /* "month" for ISO input */ {"m", UNITS, DTK_MONTH}, /* "month" for ISO input */
#if 0 {"magst", DTZ, 72}, /* Magadan Summer Time */
magst {"magt", TZ, 66}, /* Magadan Time */
magt
#endif
{"mar", MONTH, 3}, {"mar", MONTH, 3},
{"march", MONTH, 3}, {"march", MONTH, 3},
#if 0 {"mart", TZ, NEG(57)}, /* Marquesas Time */
mart
#endif
{"mawt", TZ, 36}, /* Mawson, Antarctica */ {"mawt", TZ, 36}, /* Mawson, Antarctica */
{"may", MONTH, 5}, {"may", MONTH, 5},
{"mdt", DTZ, NEG(36)}, /* Mountain Daylight Time */ {"mdt", DTZ, NEG(36)}, /* Mountain Daylight Time */
...@@ -317,75 +312,67 @@ mart ...@@ -317,75 +312,67 @@ mart
{"mez", TZ, 6}, /* Middle Europe Zone */ {"mez", TZ, 6}, /* Middle Europe Zone */
{"mht", TZ, 72}, /* Kwajalein */ {"mht", TZ, 72}, /* Kwajalein */
{"mm", UNITS, DTK_MINUTE}, /* "minute" for ISO input */ {"mm", UNITS, DTK_MINUTE}, /* "minute" for ISO input */
#if 0 {"mmt", TZ, 39}, /* Myannar Time */
mmt
#endif
{"mon", DOW, 1}, {"mon", DOW, 1},
{"monday", DOW, 1}, {"monday", DOW, 1},
#if 0 #if 0
most most
mpt
msd
msk
#endif #endif
{"mpt", TZ, 60}, /* North Mariana Islands Time */
{"msd", DTZ, 24}, /* Moscow Summer Time */
{"msk", TZ, 18}, /* Moscow Time */
{"mst", TZ, NEG(42)}, /* Mountain Standard Time */ {"mst", TZ, NEG(42)}, /* Mountain Standard Time */
{"mt", TZ, 51}, /* Moluccas Time */ {"mt", TZ, 51}, /* Moluccas Time */
{"mut", DTZ, 24}, /* Mauritius Island Time */ {"mut", TZ, 24}, /* Mauritius Island Time */
{"mvt", DTZ, 30}, /* Maldives Island Time */ {"mvt", TZ, 30}, /* Maldives Island Time */
{"myt", TZ, 48}, /* Malaysia Time */
#if 0 #if 0
myt
ncst ncst
nct
#endif #endif
{"nct", TZ, 66}, /* New Caledonia Time */
{"ndt", DTZ, NEG(15)}, /* Nfld. Daylight Time */ {"ndt", DTZ, NEG(15)}, /* Nfld. Daylight Time */
{"nft", TZ, NEG(21)}, /* Newfoundland Standard Time */ {"nft", TZ, NEG(21)}, /* Newfoundland Standard Time */
{"nor", TZ, 6}, /* Norway Standard Time */ {"nor", TZ, 6}, /* Norway Standard Time */
{"nov", MONTH, 11}, {"nov", MONTH, 11},
{"november", MONTH, 11}, {"november", MONTH, 11},
#if 0 {"novst", DTZ, 42}, /* Novosibirsk Summer Time */
novst {"novt", TZ, 36}, /* Novosibirsk Standard Time */
novt
#endif
{NOW, RESERV, DTK_NOW}, /* current transaction time */ {NOW, RESERV, DTK_NOW}, /* current transaction time */
{"nst", TZ, NEG(21)}, /* Nfld. Standard Time */ {"nst", TZ, NEG(21)}, /* Nfld. Standard Time */
{"nt", TZ, NEG(66)}, /* Nome Time */ {"nt", TZ, NEG(66)}, /* Nome Time */
#if 0 {"nut", TZ, NEG(66)}, /* Niue Time */
nut
#endif
{"nzdt", DTZ, 78}, /* New Zealand Daylight Time */ {"nzdt", DTZ, 78}, /* New Zealand Daylight Time */
{"nzst", TZ, 72}, /* New Zealand Standard Time */ {"nzst", TZ, 72}, /* New Zealand Standard Time */
{"nzt", TZ, 72}, /* New Zealand Time */ {"nzt", TZ, 72}, /* New Zealand Time */
{"oct", MONTH, 10}, {"oct", MONTH, 10},
{"october", MONTH, 10}, {"october", MONTH, 10},
#if 0 {"omsst", DTZ, 42}, /* Omsk Summer Time */
omsst {"omst", TZ, 36}, /* Omsk Time */
omst
#endif
{"on", IGNORE, 0}, /* "on" (throwaway) */ {"on", IGNORE, 0}, /* "on" (throwaway) */
{"pdt", DTZ, NEG(42)}, /* Pacific Daylight Time */ {"pdt", DTZ, NEG(42)}, /* Pacific Daylight Time */
#if 0 #if 0
pest pest
pet #endif
petst {"pet", TZ, NEG(30)}, /* Peru Time */
pett {"petst", DTZ, 78}, /* Petropavlovsk-Kamchatski Summer Time */
pgt {"pett", TZ, 72}, /* Petropavlovsk-Kamchatski Time */
phot {"pgt", TZ, 60}, /* Papua New Guinea Time */
{"phot", TZ, 78}, /* Phoenix Islands (Kiribati) Time */
#if 0
phst phst
pht
pkt
#endif #endif
{"pht", TZ, 48}, /* Phillipine Time */
{"pkt", TZ, 30}, /* Pakistan Time */
{"pm", AMPM, PM}, {"pm", AMPM, PM},
{"pmdt", DTZ, NEG(12)}, /* Pierre & Miquelon Daylight Time */
#if 0 #if 0
pmdt
pmst pmst
pont
#endif #endif
{"pont", TZ, 66}, /* Ponape Time (Micronesia) */
{"pst", TZ, NEG(48)}, /* Pacific Standard Time */ {"pst", TZ, NEG(48)}, /* Pacific Standard Time */
#if 0 {"pwt", TZ, 54}, /* Palau Time */
pwt {"pyst", DTZ, NEG(18)}, /* Paraguay Summer Time */
pyst {"pyt", TZ, NEG(24)}, /* Paraguay Time */
pyt
#endif
{"ret", DTZ, 24}, /* Reunion Island Time */ {"ret", DTZ, 24}, /* Reunion Island Time */
{"s", UNITS, DTK_SECOND}, /* "seconds" for ISO input */ {"s", UNITS, DTK_SECOND}, /* "seconds" for ISO input */
{"sadt", DTZ, 63}, /* S. Australian Dayl. Time */ {"sadt", DTZ, 63}, /* S. Australian Dayl. Time */
...@@ -415,53 +402,51 @@ sgt ...@@ -415,53 +402,51 @@ sgt
syot syot
#endif #endif
{"t", ISOTIME, DTK_TIME}, /* Filler for ISO time fields */ {"t", ISOTIME, DTK_TIME}, /* Filler for ISO time fields */
#if 0 {"that", TZ, NEG(60)}, /* Tahiti Time */
taht
#endif
{"tft", TZ, 30}, /* Kerguelen Time */ {"tft", TZ, 30}, /* Kerguelen Time */
{"thu", DOW, 4}, {"thu", DOW, 4},
{"thur", DOW, 4}, {"thur", DOW, 4},
{"thurs", DOW, 4}, {"thurs", DOW, 4},
{"thursday", DOW, 4}, {"thursday", DOW, 4},
#if 0 {"tjt", TZ, 30}, /* Tajikistan Time */
tjt {"tkt", TZ, NEG(60)}, /* Tokelau Time */
tkt {"tmt", TZ, 30}, /* Turkmenistan Time */
tmt
#endif
{TODAY, RESERV, DTK_TODAY}, /* midnight */ {TODAY, RESERV, DTK_TODAY}, /* midnight */
{TOMORROW, RESERV, DTK_TOMORROW}, /* tomorrow midnight */ {TOMORROW, RESERV, DTK_TOMORROW}, /* tomorrow midnight */
#if 0 #if 0
tost tost
tot #endif
{"tot", TZ, 78}, /* Tonga Time */
#if 0
tpt tpt
trut
#endif #endif
{"truk", TZ, 60}, /* Truk Time */
{"tue", DOW, 2}, {"tue", DOW, 2},
{"tues", DOW, 2}, {"tues", DOW, 2},
{"tuesday", DOW, 2}, {"tuesday", DOW, 2},
{"tvt", TZ, 72}, /* Tuvalu Time */
#if 0 #if 0
tvt
uct uct
ulast
ulat
#endif #endif
{"ulast", DTZ, 54}, /* Ulan Bator Summer Time */
{"ulat", TZ, 48}, /* Ulan Bator Time */
{"undefined", RESERV, DTK_INVALID}, /* pre-v6.1 invalid time */ {"undefined", RESERV, DTK_INVALID}, /* pre-v6.1 invalid time */
{"ut", TZ, 0}, {"ut", TZ, 0},
{"utc", TZ, 0}, {"utc", TZ, 0},
{"uyst", DTZ, NEG(12)}, /* Uruguay Summer Time */
{"uyt", TZ, NEG(18)}, /* Uruguay Time */
{"uzst", DTZ, 36}, /* Uzbekistan Summer Time */
{"uzt", TZ, 30}, /* Uzbekistan Time */
{"vet", TZ, NEG(24)}, /* Venezuela Time */
{"vlast", DTZ, 66}, /* Vladivostok Summer Time */
{"vlat", TZ, 60}, /* Vladivostok Time */
#if 0 #if 0
uyst
uyt
uzst
uzt
vet
vlast
vlat
vust vust
vut
#endif #endif
{"vut", TZ, 66}, /* Vanuata Time */
{"wadt", DTZ, 48}, /* West Australian DST */ {"wadt", DTZ, 48}, /* West Australian DST */
{"wakt", TZ, 72}, /* Wake Time */
#if 0 #if 0
wakt
warst warst
#endif #endif
{"wast", TZ, 42}, /* West Australian Std Time */ {"wast", TZ, 42}, /* West Australian Std Time */
...@@ -470,28 +455,20 @@ warst ...@@ -470,28 +455,20 @@ warst
{"wed", DOW, 3}, {"wed", DOW, 3},
{"wednesday", DOW, 3}, {"wednesday", DOW, 3},
{"weds", DOW, 3}, {"weds", DOW, 3},
#if 0 {"west", DTZ, 6}, /* Western Europe Summer Time */
west
#endif
{"wet", TZ, 0}, /* Western Europe */ {"wet", TZ, 0}, /* Western Europe */
{"wetdst", DTZ, 6}, /* Western Europe */ {"wetdst", DTZ, 6}, /* Western Europe Daylight Savings Time */
#if 0 {"wft", TZ, 72}, /* Wallis and Futuna Time */
wft {"wgst", DTZ, NEG(12)}, /* West Greenland Summer Time */
wgst {"wgt", TZ, NEG(18)}, /* West Greenland Time */
wgt {"wst", TZ, 48}, /* West Australian Standard Time */
#endif
{"wst", TZ, 48}, /* West Australian Std Time */
{"y", UNITS, DTK_YEAR}, /* "year" for ISO input */ {"y", UNITS, DTK_YEAR}, /* "year" for ISO input */
#if 0 {"yakst", DTZ, 60}, /* Yakutsk Summer Time */
yakst {"yakt", TZ, 54}, /* Yakutsk Time */
yakt {"yapt", TZ, 60}, /* Yap Time (Micronesia) */
yapt
#endif
{"ydt", DTZ, NEG(48)}, /* Yukon Daylight Time */ {"ydt", DTZ, NEG(48)}, /* Yukon Daylight Time */
#if 0 {"yekst", DTZ, 36}, /* Yekaterinburg Summer Time */
yekst {"yekt", TZ, 30}, /* Yekaterinburg Time */
yekt
#endif
{YESTERDAY, RESERV, DTK_YESTERDAY}, /* yesterday midnight */ {YESTERDAY, RESERV, DTK_YESTERDAY}, /* yesterday midnight */
{"yst", TZ, NEG(54)}, /* Yukon Standard Time */ {"yst", TZ, NEG(54)}, /* Yukon Standard Time */
{"z", TZ, 0}, /* time zone tag per ISO-8601 */ {"z", TZ, 0}, /* time zone tag per ISO-8601 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment