c-common.c

Jim Van Zandt jrv at vanzandt.mv.com
Tue Aug 20 01:58:22 UTC 1996


In message <9608192125.AA20430 at elsie.nci.nih.gov>, Arthur David Olson writes:
>The file
>	ftp://elsie.nci.nih.gov/pub/c-common.c
>is now available; this is a replacement for c-common.c in gcc (either 2.7.2
>or 2.7.2.1) that does strftime format checking

and Ulrich Drepper pointed out "we have version 2.0 near to a
date of release and the strftime function was changed."

   Markus Kuhn <mskuhn at cip.informatik.uni-erlangen.de> comments in his
web page on ISO 8601 (http://www.ft.uni-erlangen.de/~mskuhn/iso-time.html)
as follows:

   [Unfortunately, the current version of the C programming language
   standard provides in the strftime() function no means to generate the
   ISO 8601 week notation. A required extension would be four new
   formatting codes: for the year of the week to which the specified day
   belongs (both 2-digit and 4-digit), for the number of the week between
   01 and 53, and for the day of the week between 1 (Monday) and 7
   (Sunday). 
   ...

Does c-common.c and/or the strftime in version 2.0 of glibc address
these points?

                          - Jim Van Zandt



More information about the tz mailing list