OSDN Git Service

2005-02-16 Eric Blake <ebb9@byu.net>
authorjjohnstn <jjohnstn>
Wed, 16 Feb 2005 21:15:37 +0000 (21:15 +0000)
committerjjohnstn <jjohnstn>
Wed, 16 Feb 2005 21:15:37 +0000 (21:15 +0000)
commitd43a18c49b6d60f918313748d99e2436e2cccc51
tree883effc08d8845b1e940ccf27b241bfa17a900ae
parentaea6b208e98de6a70fb56e8b10f5c9b06fe163fe
2005-02-16  Eric Blake  <ebb9@byu.net>

        * libc/time/time.tex: Improve the documentation.
        * libc/time/strftime.c: Improve the documentation.
        (iso_year_adjust): New helper function.
        (strftime): Simplify '%E' and '%O'. Change '%c' to use
        recursion. Fix '%C', '%y', and '%Y' to deal with years with more
        than 4 characters.  Combine '%d' and '%e'. Implement '%D', '%F',
        '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
        Avoid core dumps on valid inputs (maxsize == 0, or
        tim_p->tm_isdst > 1).
newlib/ChangeLog
newlib/libc/time/strftime.c
newlib/libc/time/time.tex