Commit Graph

11 Commits

Author SHA1 Message Date
jtc 7c04139bcd Fix computation of ISO 8601 Week Of Year 1996-06-01 21:23:25 +00:00
jtc fdde8d3367 gcc -Wall cleanup from John Birrell <jb@cimlogic.com.au>. 1996-02-04 23:43:54 +00:00
jtc 0943e32aa8 Fixed %u to expand to a single digit 1995-12-28 23:02:42 +00:00
jtc 9be3c7f228 Minor tweaks to prepare for checkin of real i18n code. 1994-09-29 04:57:04 +00:00
jtc 15d0e3dedd Get the day, month, format, etc. strings from the current time locale
structure instead of static data.
1994-05-25 01:20:19 +00:00
jtc e01da66af0 POSIX.1 says that strftime() must call tzset() as an application can change
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-22 22:11:52 +00:00
deraadt fa21a45545 fix for "%R" from <seanv@cs.uq.edu.au> 1994-04-07 06:52:14 +00:00
jtc 9c20f740a3 Declare rcsid strings so they are stored in text segment. 1993-08-26 00:43:03 +00:00
jtc cbc115a0d5 Added the additional ``%'' format specifiers and the ``E'' and ``O''
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-19 16:39:47 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00