Add the Brazilian time zone abbreviations BRT, BRST, FNT, FNST.
authorTom Lane
Mon, 25 Aug 2003 23:30:27 +0000 (23:30 +0000)
committerTom Lane
Mon, 25 Aug 2003 23:30:27 +0000 (23:30 +0000)
ACT and ACST were already present.  AMT and AMST conflict with the
existing entries for Armenia; no change there for the moment.

doc/src/sgml/datetime.sgml
src/backend/utils/adt/datetime.c

index c205ee9c31448cfb8fdcaf68849e3c5b39804328..9c8a4077f1b6053038c08a145c8ba269627fbe4e 100644 (file)
@@ -1,5 +1,5 @@
 
 
  
@@ -536,18 +536,10 @@ $Header: /cvsroot/pgsql/doc/src/sgml/datetime.sgml,v 2.32 2003/07/29 00:03:17 tg
    +07:00
    Christmas (Island) Time
        
-
        
    MMT
    +06:30
-   Myannar Time
+   Myanmar Time
        
        
    ALMT
@@ -759,6 +751,21 @@ $Header: /cvsroot/pgsql/doc/src/sgml/datetime.sgml,v 2.32 2003/07/29 00:03:17 tg
    -01:00
    West Africa Time
        
+       
+   FNST
+   -01:00
+   Fernando de Noronha Summer Time
+       
+       
+   FNT
+   -02:00
+   Fernando de Noronha Time
+       
+       
+   BRST
+   -02:00
+   Brasilia Summer Time
+       
        
    NDT
    -02:30
@@ -774,6 +781,11 @@ $Header: /cvsroot/pgsql/doc/src/sgml/datetime.sgml,v 2.32 2003/07/29 00:03:17 tg
    -03:00
    (unknown)
        
+       
+   BRT
+   -03:00
+   Brasilia Time
+       
        
    NFT
    -03:30
@@ -794,11 +806,6 @@ $Header: /cvsroot/pgsql/doc/src/sgml/datetime.sgml,v 2.32 2003/07/29 00:03:17 tg
    -04:00
    Atlantic/Porto Acre Summer Time
        
-       
-   ACT
-   -05:00
-   Atlantic/Porto Acre Standard Time
-       
        
    EDT
    -04:00
@@ -811,6 +818,11 @@ $Header: /cvsroot/pgsql/doc/src/sgml/datetime.sgml,v 2.32 2003/07/29 00:03:17 tg
       GMT +4 hours
       
        -->
+       
+   ACT
+   -05:00
+   Atlantic/Porto Acre Standard Time
+       
        
    CDT
    -05:00
index f463e80bc105020e4cb5f6e3de59125364bfdb4a..3a06d63ed3da5449cd753434328a9b1c50003bfd 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.114 2003/08/25 22:47:34 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.115 2003/08/25 23:30:27 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -82,7 +82,7 @@ char     *days[] = {"Sunday", "Monday", "Tuesday", "Wednesday",
  * which are 30 or 45 minutes away from an even hour, most are on an hour
  * boundary, and none on other boundaries.
  *
- * Let's include all strings from my current zinc time zone database.
+ * Let's include all strings from my current zic time zone database.
  * Not all of them are unique, or even very understandable, so we will
  * leave some commented out for now.
  */
@@ -91,8 +91,8 @@ static datetkn datetktbl[] = {
    {EARLY, RESERV, DTK_EARLY}, /* "-infinity" reserved for "early time" */
    {"abstime", IGNORE_DTF, 0}, /* for pre-v6.1 "Invalid Abstime" */
    {"acsst", DTZ, POS(42)},    /* Cent. Australia */
-   {"acst", DTZ, NEG(16)},     /* Atlantic/Porto Acre */
-   {"act", TZ, NEG(20)},       /* Atlantic/Porto Acre */
+   {"acst", DTZ, NEG(16)},     /* Atlantic/Porto Acre Summer Time */
+   {"act", TZ, NEG(20)},       /* Atlantic/Porto Acre Time */
    {DA_D, ADBC, AD},           /* "ad" for years >= 0 */
    {"adt", DTZ, NEG(12)},      /* Atlantic Daylight Time */
    {"aesst", DTZ, POS(44)},    /* E. Australia */
@@ -107,9 +107,12 @@ static datetkn datetktbl[] = {
    {"am", AMPM, AM},
    {"amst", DTZ, POS(20)},     /* Armenia Summer Time (Yerevan) */
 #if 0
-   {"amst", DTZ, NEG(12)},     /* Porto Velho */
+   {"amst", DTZ, NEG(12)},     /* Amazon Summer Time (Porto Velho) */
 #endif
    {"amt", TZ, POS(16)},       /* Armenia Time (Yerevan) */
+#if 0
+   {"amt", TZ, NEG(16)},       /* Amazon Time (Porto Velho) */
+#endif
    {"anast", DTZ, POS(52)},    /* Anadyr Summer Time (Russia) */
    {"anat", TZ, POS(48)},      /* Anadyr Time (Russia) */
    {"apr", MONTH, 4},
@@ -147,10 +150,8 @@ static datetkn datetktbl[] = {
 #endif
    {"bot", TZ, NEG(16)},       /* Bolivia Time */
    {"bra", TZ, NEG(12)},       /* Brazil Time */
-#if 0
-   brst
-   brt
-#endif
+   {"brst", DTZ, NEG(8)},      /* Brasilia Summer Time */
+   {"brt", TZ, NEG(12)},       /* Brasilia Time */
    {"bst", DTZ, POS(4)},       /* British Summer Time */
 #if 0
    {"bst", TZ, NEG(12)},       /* Brazil Standard Time */
@@ -226,10 +227,8 @@ static datetkn datetktbl[] = {
    {"fjt", TZ, NEG(48)},       /* Fiji Time */
    {"fkst", DTZ, NEG(12)},     /* Falkland Islands Summer Time */
    {"fkt", TZ, NEG(8)},        /* Falkland Islands Time */
-#if 0
-   fnst
-   fnt
-#endif
+   {"fnst", DTZ, NEG(4)},      /* Fernando de Noronha Summer Time */
+   {"fnt", TZ, NEG(8)},        /* Fernando de Noronha Time */
    {"fri", DOW, 5},
    {"friday", DOW, 5},
    {"fst", TZ, POS(4)},        /* French Summer Time */
@@ -324,7 +323,7 @@ static datetkn datetktbl[] = {
    {"mez", TZ, POS(4)},        /* Middle Europe Zone */
    {"mht", TZ, POS(48)},       /* Kwajalein */
    {"mm", UNITS, DTK_MINUTE},  /* "minute" for ISO input */
-   {"mmt", TZ, POS(26)},       /* Myannar Time */
+   {"mmt", TZ, POS(26)},       /* Myanmar Time */
    {"mon", DOW, 1},
    {"monday", DOW, 1},
 #if 0