OSDN Git Service

Rework the date/time parsing to tighten up some cases and to enable other
authorThomas G. Lockhart <lockhart@fourpalms.org>
Sat, 29 Dec 2001 18:31:48 +0000 (18:31 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Sat, 29 Dec 2001 18:31:48 +0000 (18:31 +0000)
commitb5e23db43881af39d17aed5df2e90f9d4a352c26
treeecba68021430a76ae02cd6a0ec819c7f9dcf3f0f
parent3e87bfc1f1fa4f32ca8a417d0b0064a5d2700d35
Rework the date/time parsing to tighten up some cases and to enable other
 cases which should have worked but did not.
Now supports julian day (J2452271), ISO time labels (T040506) and various
 combinations of spaces and run-togethers of dates, times, and time zones.
All regression tests pass, and I have more tests to add after the 7.2
 release (don't want to require changes to the ancillary horology result
 files until after then).
src/backend/utils/adt/datetime.c
src/backend/utils/adt/timestamp.c
src/include/utils/datetime.h