summaryrefslogtreecommitdiff
path: root/lib/libc/string/strftime.c
AgeCommit message (Collapse)Author
1994-09-29Minor tweaks to prepare for checkin of real i18n code.jtc
1994-05-25Get the day, month, format, etc. strings from the current time localejtc
structure instead of static data.
1994-04-22POSIX.1 says that strftime() must call tzset() as an application can changejtc
the TZ environment variable while it is running. Arnold Robbins' strftime() implementation from comp.sources.unix caches the value of TZ to avoid calling tzset() (it's expensive) unless it has been changed. But since POSIX.1 also requires ctime(), localtime(), and mktime() to call tzset(), I think that it is better for tzset() itself to determine whether or not to parse a new timezone file.
1994-04-07fix for "%R" from <seanv@cs.uq.edu.au>deraadt
1993-08-26Declare rcsid strings so they are stored in text segment.jtc
1993-08-19Added the additional ``%'' format specifiers and the ``E'' and ``O''jtc
format modifiers that are needed for a 1003.2 compliant date(1). The modifiers don't actually do anything at present and are not documented. It's too confusing to the user to describe localization features when they aren't implemented yet. It is safe to do this, as the modifiers fall back to the default behavior if the locale doesn't support alternate eras or numeric formats. But, in anticipation of _some_ locale support, all month and day names and abbrevs, certain time formats, am/pm, etc. are now accessed through variables.
1993-08-01Add RCS identifiers.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd