-
- Downloads
Fix to_char(), to_date(), and to_timestamp() to handle negative/BC
century specifications just like positive/AD centuries. Previously the behavior was either wrong or inconsistent with positive/AD handling. Centuries without years now always assume the first year of the century, which is now documented.
Showing
- doc/src/sgml/func.sgml 3 additions, 1 deletiondoc/src/sgml/func.sgml
- src/backend/utils/adt/formatting.c 32 additions, 17 deletionssrc/backend/utils/adt/formatting.c
- src/test/regress/expected/timestamp.out 2 additions, 2 deletionssrc/test/regress/expected/timestamp.out
- src/test/regress/expected/timestamptz.out 2 additions, 2 deletionssrc/test/regress/expected/timestamptz.out
Loading
Please register or sign in to comment