Re: [PATCH] Add a new pattern for zero-based months for Date/Time Formatting - Mailing list pgsql-hackers

From Christoph Berg
Subject Re: [PATCH] Add a new pattern for zero-based months for Date/Time Formatting
Date
Msg-id Z-QIQjw1_p1laSuo@msg.df7cb.de
Whole thread Raw
In response to Re: [PATCH] Add a new pattern for zero-based months for Date/Time Formatting  (Peter Eisentraut <peter@eisentraut.org>)
Responses Re: [PATCH] Add a new pattern for zero-based months for Date/Time Formatting
List pgsql-hackers
Re: Peter Eisentraut
> Moreover, if there are zero-based months, why not zero-based days,
> or any of the other fields?

I would suspect this is coming from C's struct tm where tm_mon is
0..11 and all other fields being "normal". Used by asctime(), gmtime()
and friends.

Christoph



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: vacuum_truncate configuration parameter and isset_offset
Next
From: "David G. Johnston"
Date:
Subject: Re: vacuum_truncate configuration parameter and isset_offset