This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [v5] Fix strptime era handling, add more strftime tests [BZ #24394]
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: DJ Delorie <dj at redhat dot com>
- Cc: Rafal Luzynski <digitalfreak at lingonborough dot com>, codonell at redhat dot com, libc-alpha at sourceware dot org, tamuki at linet dot gr dot jp
- Date: Fri, 29 Mar 2019 19:43:49 +0100
- Subject: Re: [v5] Fix strptime era handling, add more strftime tests [BZ #24394]
- References: <xnzhpdo7cd.fsf@greed.delorie.com>
* DJ Delorie:
> + snprintf (buffer, TMBUFLEN, "%04d/%02d/%02d %02d:%02d:%02d %s",
> + tm->tm_year,
> + tm->tm_mon,
> + tm->tm_mday,
> + tm->tm_hour,
> + tm->tm_min,
> + tm->tm_sec,
> + wn);
What's the reason to use this non-standard date format? Why not ISO
8601 with 0-based years and 1-based months?