]> granicus.if.org Git - postgresql/commit
Andrew pointed out that the current fix didn't handle dates that were
authorBruce Momjian <bruce@momjian.us>
Sat, 23 Jul 2005 14:25:34 +0000 (14:25 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 23 Jul 2005 14:25:34 +0000 (14:25 +0000)
commit3dbbbbf8e98329e1eea9920436defc64af3594d3
tree38d2b294496f12135a7b01e6d3da99912d72b5bf
parent6c61b0d93cd5378bfb64959b9e738fe02413cefe
Andrew pointed out that the current fix didn't handle dates that were
near daylight savings time boudaries.  This handles it properly, e.g.

        test=> select '2005-04-03 04:00:00'::timestamp at time zone
        'America/Los_Angeles';
                timezone
        ------------------------
         2005-04-03 07:00:00-04
        (1 row)
src/backend/utils/adt/date.c
src/backend/utils/adt/datetime.c
src/backend/utils/adt/formatting.c
src/backend/utils/adt/nabstime.c
src/backend/utils/adt/timestamp.c
src/include/utils/datetime.h