In the attache is new to_date()/to_timestamp() version.
Bruce Momjian <bruce@momjian.us>
In the attache is new to_date()/to_timestamp() version.
Now the to_timestamp() support WW,W,J,SSSS,DDD conversion from strings and
the am/pm bug is fixed, the to_char() use week-of-year (WW) full compatible
with Oracle.
This patch update relevant regress-tests and docs too.
Karel
~
~
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +8 −5 |
| src/backend/utils/adt/formatting.c | modified | +422 −370 |
| src/test/regress/expected/timestamp.out | modified | +32 −32 |