proposed changes to strftime.c

Paul Eggert eggert at twinsun.com
Sun May 30 06:24:02 UTC 1993


   Date: Sat, 29 May 93 19:46:18 EDT
   From: ado at elsie.nci.nih.gov (Arthur David Olson)

   > 	Use ISO standard date format for %x; this is more appropriate than the
   > 	American date format, which confuses non-Americans.  Especially for
   > 	dates like 01/02/03; the ISO date 2003-01-02 is much clearer for
   > 	everybody, and it sorts correctly too.

   Does "ISO standard date format" hear mean that YYYY-MM-DD is what the ISO
   version of the C language standard requires, or does it mean something else?

Sorry, I should have been more specific.  YYYY-MM-DD is from an ISO standard
specifically for date formats.  I've been told it's ISO 2014, and that it's
about 20 years old -- I don't have a copy of the standard myself, though.

The C Standard itself, of course, doesn't require any particular format here,
but I think the ISO format is a good choice.



More information about the tz mailing list