Fix to_char for 1 BC. Previously it returned 1 AD.

Bruce Momjian <bruce@momjian.us>

Commit: fd071bd478f489c81208029265e1fef954a9b5fa
Author: Bruce Momjian <bruce@momjian.us>
Date: 2004-03-30T15:53:18Z
Releases: 8.0.0
Fix to_char for 1 BC.  Previously it returned 1 AD.

Fix to_char(year) for BC dates.  Previously it returned one less than
the current year.

Add documentation mentioning that there is no 0 AD.

Files