Re: Approxidate with YYYY.MM
- From
Michael Witten <mfwitten@gmail.com>
- Date
- May 22, 2011, 17:10 UTC
- Message-ID
- <BANLkTik_kSx8cumFWxnoCze1T72yzBxkQQ@mail.gmail.com>
- In-Reply-To
- <4DC8F91C.5090709@drmicha.warpmail.net>
On Tue, May 10, 2011 at 08:36, Michael J Gruber <git@drmicha.warpmail.net> wrote:
> Incidentally, we do not parse 2010-3 as March of 2010 either. Again, > this is not ISO date format (but an unofficial abbreviation). We may > decide to dwim that to 2010-03-01, and I would even appreciate that.
Wouldn't it make the most sense to provide another option to allow the user to specify whatever date format he wants (from the conversion specifiers understood by strptime(3))?
It seems really ridiculous to keep growing the date parsing code.