On Thu, Jan 19, 2017 at 2:52 PM, Dmitry Fedin <dmitry.fe...@gmail.com> wrote: > According to usages, tm_mon (month) field has origin 1, not 0. This is > difference from C-library version of struct tm, which has origin 0 for > real.
Hmm, thanks for noticing. Looks like it has been wrong for a really long time. Your patch got garbled; it had two-space indents instead of tabs, so it didn't apply. It's best to attach them rather than including them inline. Committed. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers