summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdtime/strftime.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement new format specifier for strftime: %OB, alternative nationaldt1999-09-111-2/+6
| | | | | | | | | representation of the full month name. In the Russian locale, this alternative will be "nominative case", useful when the date designate month as a whole. E.g. month heading in a calendar. I hope it can be useful for some other locales too. Discussed with: wollman, ache
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fixed printf format errors. Don't assume so many things about time_t.bde1998-06-301-20/+16
| | | | | | Obtained from: partial merge of ADO version tzcode96h (was fully merged in 1.10 but backed out in 1.11; the FreeBSD code for %s was earlier, prettier but buggier).
* Merged in better support of ISO 8601 from elsie.nci.nih.gov.helbig1997-10-031-54/+76
| | | | | Added the conversion specifiers %g and %G, that are replaced by the year which contains the greater part of the week in question.
* Import strptime(3) into libc. We've got permission by Kevin Ruddy tojoerg1997-08-091-177/+2
| | | | | | | | modify the original `no modifications' copyright message, and i've included his mail into the source file. The common localization functions between strptime(3) and strftime(3) have been broken out into timelocal.[ch].
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Include "setlocale.h" for _PathLocale like other parts already didache1997-02-071-3/+2
| | | | Should go in 2.2
* Update the comment why range checking is not neededache1997-02-051-1/+1
| | | | Should go in 2.2
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Add comment that range checking is already done at upper levelache1996-12-281-1/+2
| | | | | | Kill snprintf left in collate.c from previous backout Should go in 2.2
* Move PATH_LOCALE handling to setlocale.c, simplify locale path building,ache1996-11-261-10/+9
| | | | don't treat empty encoding as C encoding
* Revert to old version of strftime.c; the new one doesn't work right.wollman1996-07-191-110/+78
|
* Merge the recently-imported tzcode96h distribution (libc portion). Thewollman1996-07-181-79/+111
| | | | | | part that does zic(8)/zdump(8) is still yet to be imported (but the old zic and zdump will work just fine with these header files and the data format has not changed).
* General -Wall warning cleanup, part I.jkh1996-07-121-2/+1
| | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* Removed false copyrights...scrappy1996-05-271-3/+1
|
* Added in appropriate Berkeley copyright and RCS Id: stringscrappy1996-05-271-1/+3
| | | | Closes PR#doc/536
* Don't reset LC_TIME to C when it isn't neccessaryache1995-10-231-13/+17
|
* Restore %s format support from previous versionache1995-08-071-1/+22
|
* Fix default %c to be ctime-compatible as supposed (by Solaris too)ache1995-08-061-4/+4
|
* Implement locale-sensitive strftime () from ADO (heavily modifiedwollman1995-08-041-104/+240
| | | | | | | | | | by me). This probably loses for multibyte characters, but I have no way of telling. I'll let ache decide whether to add this support to startup_setlocale. Note that for this to make any sense at all, the symlinks in /usr/share/locale must go. (For the moment, this doesn't make any difference since there are no locales supplied.) Obtained from: Arthur David Olson <ado@elsie.nci.nih.gov>
* On snap 950210, format %s (print seconds from the epoch) is missingjoerg1995-03-011-0/+22
| | | | | | | | | from the code in strftime.c . This affects both the library code and all the commands using it (e.g. date +%s). Note that %s is not required by ANSI, but we've already got it in 1.1.5.1. Suggested by: luigi@labinfo.iet.unipi.it (Luigi Rizzo)
* The rest of tzcode94g from Arthur David Olson.wollman1994-09-131-0/+393
Obtained From: Arthur David Olson, ftp://elsie.nci.nih.gov/pub/tzcode94g.tar.gz
OpenPOWER on IntegriCloud