mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-01 22:11:21 +02:00
Add the Brazilian time zone abbreviations BRT, BRST, FNT, FNST.
ACT and ACST were already present. AMT and AMST conflict with the existing entries for Armenia; no change there for the moment.
This commit is contained in:
parent
412c57b15f
commit
3e51c1553c
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$Header: /cvsroot/pgsql/doc/src/sgml/datetime.sgml,v 2.32 2003/07/29 00:03:17 tgl Exp $
|
$Header: /cvsroot/pgsql/doc/src/sgml/datetime.sgml,v 2.33 2003/08/25 23:30:25 tgl Exp $
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<appendix id="datetime-appendix">
|
<appendix id="datetime-appendix">
|
||||||
@ -536,18 +536,10 @@ $Header: /cvsroot/pgsql/doc/src/sgml/datetime.sgml,v 2.32 2003/07/29 00:03:17 tg
|
|||||||
<entry>+07:00</entry>
|
<entry>+07:00</entry>
|
||||||
<entry>Christmas (Island) Time</entry>
|
<entry>Christmas (Island) Time</entry>
|
||||||
</row>
|
</row>
|
||||||
<!--
|
|
||||||
Conflicts with China Coastal Time
|
|
||||||
<row>
|
|
||||||
<entry>CCT</entry>
|
|
||||||
<entry>+06:30</entry>
|
|
||||||
<entry>Cocos Island Time</entry>
|
|
||||||
</row>
|
|
||||||
-->
|
|
||||||
<row>
|
<row>
|
||||||
<entry>MMT</entry>
|
<entry>MMT</entry>
|
||||||
<entry>+06:30</entry>
|
<entry>+06:30</entry>
|
||||||
<entry>Myannar Time</entry>
|
<entry>Myanmar Time</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>ALMT</entry>
|
<entry>ALMT</entry>
|
||||||
@ -759,6 +751,21 @@ $Header: /cvsroot/pgsql/doc/src/sgml/datetime.sgml,v 2.32 2003/07/29 00:03:17 tg
|
|||||||
<entry>-01:00</entry>
|
<entry>-01:00</entry>
|
||||||
<entry>West Africa Time</entry>
|
<entry>West Africa Time</entry>
|
||||||
</row>
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>FNST</entry>
|
||||||
|
<entry>-01:00</entry>
|
||||||
|
<entry>Fernando de Noronha Summer Time</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>FNT</entry>
|
||||||
|
<entry>-02:00</entry>
|
||||||
|
<entry>Fernando de Noronha Time</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>BRST</entry>
|
||||||
|
<entry>-02:00</entry>
|
||||||
|
<entry>Brasilia Summer Time</entry>
|
||||||
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>NDT</entry>
|
<entry>NDT</entry>
|
||||||
<entry>-02:30</entry>
|
<entry>-02:30</entry>
|
||||||
@ -774,6 +781,11 @@ $Header: /cvsroot/pgsql/doc/src/sgml/datetime.sgml,v 2.32 2003/07/29 00:03:17 tg
|
|||||||
<entry>-03:00</entry>
|
<entry>-03:00</entry>
|
||||||
<entry>(unknown)</entry>
|
<entry>(unknown)</entry>
|
||||||
</row>
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>BRT</entry>
|
||||||
|
<entry>-03:00</entry>
|
||||||
|
<entry>Brasilia Time</entry>
|
||||||
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>NFT</entry>
|
<entry>NFT</entry>
|
||||||
<entry>-03:30</entry>
|
<entry>-03:30</entry>
|
||||||
@ -794,11 +806,6 @@ $Header: /cvsroot/pgsql/doc/src/sgml/datetime.sgml,v 2.32 2003/07/29 00:03:17 tg
|
|||||||
<entry>-04:00</entry>
|
<entry>-04:00</entry>
|
||||||
<entry>Atlantic/Porto Acre Summer Time</entry>
|
<entry>Atlantic/Porto Acre Summer Time</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
|
||||||
<entry>ACT</entry>
|
|
||||||
<entry>-05:00</entry>
|
|
||||||
<entry>Atlantic/Porto Acre Standard Time</entry>
|
|
||||||
</row>
|
|
||||||
<row>
|
<row>
|
||||||
<entry>EDT</entry>
|
<entry>EDT</entry>
|
||||||
<entry>-04:00</entry>
|
<entry>-04:00</entry>
|
||||||
@ -811,6 +818,11 @@ $Header: /cvsroot/pgsql/doc/src/sgml/datetime.sgml,v 2.32 2003/07/29 00:03:17 tg
|
|||||||
<entry>GMT +4 hours</entry>
|
<entry>GMT +4 hours</entry>
|
||||||
</row>
|
</row>
|
||||||
-->
|
-->
|
||||||
|
<row>
|
||||||
|
<entry>ACT</entry>
|
||||||
|
<entry>-05:00</entry>
|
||||||
|
<entry>Atlantic/Porto Acre Standard Time</entry>
|
||||||
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>CDT</entry>
|
<entry>CDT</entry>
|
||||||
<entry>-05:00</entry>
|
<entry>-05:00</entry>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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
|
* which are 30 or 45 minutes away from an even hour, most are on an hour
|
||||||
* boundary, and none on other boundaries.
|
* 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
|
* Not all of them are unique, or even very understandable, so we will
|
||||||
* leave some commented out for now.
|
* leave some commented out for now.
|
||||||
*/
|
*/
|
||||||
@ -91,8 +91,8 @@ static datetkn datetktbl[] = {
|
|||||||
{EARLY, RESERV, DTK_EARLY}, /* "-infinity" reserved for "early time" */
|
{EARLY, RESERV, DTK_EARLY}, /* "-infinity" reserved for "early time" */
|
||||||
{"abstime", IGNORE_DTF, 0}, /* for pre-v6.1 "Invalid Abstime" */
|
{"abstime", IGNORE_DTF, 0}, /* for pre-v6.1 "Invalid Abstime" */
|
||||||
{"acsst", DTZ, POS(42)}, /* Cent. Australia */
|
{"acsst", DTZ, POS(42)}, /* Cent. Australia */
|
||||||
{"acst", DTZ, NEG(16)}, /* Atlantic/Porto Acre */
|
{"acst", DTZ, NEG(16)}, /* Atlantic/Porto Acre Summer Time */
|
||||||
{"act", TZ, NEG(20)}, /* Atlantic/Porto Acre */
|
{"act", TZ, NEG(20)}, /* Atlantic/Porto Acre Time */
|
||||||
{DA_D, ADBC, AD}, /* "ad" for years >= 0 */
|
{DA_D, ADBC, AD}, /* "ad" for years >= 0 */
|
||||||
{"adt", DTZ, NEG(12)}, /* Atlantic Daylight Time */
|
{"adt", DTZ, NEG(12)}, /* Atlantic Daylight Time */
|
||||||
{"aesst", DTZ, POS(44)}, /* E. Australia */
|
{"aesst", DTZ, POS(44)}, /* E. Australia */
|
||||||
@ -107,9 +107,12 @@ static datetkn datetktbl[] = {
|
|||||||
{"am", AMPM, AM},
|
{"am", AMPM, AM},
|
||||||
{"amst", DTZ, POS(20)}, /* Armenia Summer Time (Yerevan) */
|
{"amst", DTZ, POS(20)}, /* Armenia Summer Time (Yerevan) */
|
||||||
#if 0
|
#if 0
|
||||||
{"amst", DTZ, NEG(12)}, /* Porto Velho */
|
{"amst", DTZ, NEG(12)}, /* Amazon Summer Time (Porto Velho) */
|
||||||
#endif
|
#endif
|
||||||
{"amt", TZ, POS(16)}, /* Armenia Time (Yerevan) */
|
{"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) */
|
{"anast", DTZ, POS(52)}, /* Anadyr Summer Time (Russia) */
|
||||||
{"anat", TZ, POS(48)}, /* Anadyr Time (Russia) */
|
{"anat", TZ, POS(48)}, /* Anadyr Time (Russia) */
|
||||||
{"apr", MONTH, 4},
|
{"apr", MONTH, 4},
|
||||||
@ -147,10 +150,8 @@ static datetkn datetktbl[] = {
|
|||||||
#endif
|
#endif
|
||||||
{"bot", TZ, NEG(16)}, /* Bolivia Time */
|
{"bot", TZ, NEG(16)}, /* Bolivia Time */
|
||||||
{"bra", TZ, NEG(12)}, /* Brazil Time */
|
{"bra", TZ, NEG(12)}, /* Brazil Time */
|
||||||
#if 0
|
{"brst", DTZ, NEG(8)}, /* Brasilia Summer Time */
|
||||||
brst
|
{"brt", TZ, NEG(12)}, /* Brasilia Time */
|
||||||
brt
|
|
||||||
#endif
|
|
||||||
{"bst", DTZ, POS(4)}, /* British Summer Time */
|
{"bst", DTZ, POS(4)}, /* British Summer Time */
|
||||||
#if 0
|
#if 0
|
||||||
{"bst", TZ, NEG(12)}, /* Brazil Standard Time */
|
{"bst", TZ, NEG(12)}, /* Brazil Standard Time */
|
||||||
@ -226,10 +227,8 @@ static datetkn datetktbl[] = {
|
|||||||
{"fjt", TZ, NEG(48)}, /* Fiji Time */
|
{"fjt", TZ, NEG(48)}, /* Fiji Time */
|
||||||
{"fkst", DTZ, NEG(12)}, /* Falkland Islands Summer Time */
|
{"fkst", DTZ, NEG(12)}, /* Falkland Islands Summer Time */
|
||||||
{"fkt", TZ, NEG(8)}, /* Falkland Islands Time */
|
{"fkt", TZ, NEG(8)}, /* Falkland Islands Time */
|
||||||
#if 0
|
{"fnst", DTZ, NEG(4)}, /* Fernando de Noronha Summer Time */
|
||||||
fnst
|
{"fnt", TZ, NEG(8)}, /* Fernando de Noronha Time */
|
||||||
fnt
|
|
||||||
#endif
|
|
||||||
{"fri", DOW, 5},
|
{"fri", DOW, 5},
|
||||||
{"friday", DOW, 5},
|
{"friday", DOW, 5},
|
||||||
{"fst", TZ, POS(4)}, /* French Summer Time */
|
{"fst", TZ, POS(4)}, /* French Summer Time */
|
||||||
@ -324,7 +323,7 @@ static datetkn datetktbl[] = {
|
|||||||
{"mez", TZ, POS(4)}, /* Middle Europe Zone */
|
{"mez", TZ, POS(4)}, /* Middle Europe Zone */
|
||||||
{"mht", TZ, POS(48)}, /* Kwajalein */
|
{"mht", TZ, POS(48)}, /* Kwajalein */
|
||||||
{"mm", UNITS, DTK_MINUTE}, /* "minute" for ISO input */
|
{"mm", UNITS, DTK_MINUTE}, /* "minute" for ISO input */
|
||||||
{"mmt", TZ, POS(26)}, /* Myannar Time */
|
{"mmt", TZ, POS(26)}, /* Myanmar Time */
|
||||||
{"mon", DOW, 1},
|
{"mon", DOW, 1},
|
||||||
{"monday", DOW, 1},
|
{"monday", DOW, 1},
|
||||||
#if 0
|
#if 0
|
||||||
|
Loading…
Reference in New Issue
Block a user