summaryrefslogtreecommitdiff
path: root/lib/libc/stdtime/strftime.c
Commit message (Collapse)AuthorAgeFilesLines
* Merged in better support of ISO 8601 from elsie.nci.nih.gov.Wolfgang 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. Notes: svn path=/head/; revision=30089
* Import strptime(3) into libc. We've got permission by Kevin Ruddy toJoerg Wunsch1997-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]. Notes: svn path=/head/; revision=28021
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22993
* Include "setlocale.h" for _PathLocale like other parts already didAndrey A. Chernov1997-02-071-3/+2
| | | | | | | Should go in 2.2 Notes: svn path=/head/; revision=22402
* Update the comment why range checking is not neededAndrey A. Chernov1997-02-051-1/+1
| | | | | | | Should go in 2.2 Notes: svn path=/head/; revision=22305
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* Add comment that range checking is already done at upper levelAndrey A. Chernov1996-12-281-1/+2
| | | | | | | | | Kill snprintf left in collate.c from previous backout Should go in 2.2 Notes: svn path=/head/; revision=20961
* Move PATH_LOCALE handling to setlocale.c, simplify locale path building,Andrey A. Chernov1996-11-261-10/+9
| | | | | | | don't treat empty encoding as C encoding Notes: svn path=/head/; revision=19965
* Revert to old version of strftime.c; the new one doesn't work right.Garrett Wollman1996-07-191-110/+78
| | | | Notes: svn path=/head/; revision=17224
* Merge the recently-imported tzcode96h distribution (libc portion). TheGarrett Wollman1996-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). Notes: svn path=/head/; revision=17209
* General -Wall warning cleanup, part I.Jordan K. Hubbard1996-07-121-2/+1
| | | | | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu> Notes: svn path=/head/; revision=17141
* Removed false copyrights...Marc G. Fournier1996-05-271-3/+1
| | | | Notes: svn path=/head/; revision=15927
* Added in appropriate Berkeley copyright and RCS Id: stringMarc G. Fournier1996-05-271-1/+3
| | | | | | | Closes PR#doc/536 Notes: svn path=/head/; revision=15923
* Don't reset LC_TIME to C when it isn't neccessaryAndrey A. Chernov1995-10-231-13/+17
| | | | Notes: svn path=/head/; revision=11735
* Restore %s format support from previous versionAndrey A. Chernov1995-08-071-1/+22
| | | | Notes: svn path=/head/; revision=9988
* Fix default %c to be ctime-compatible as supposed (by Solaris too)Andrey A. Chernov1995-08-061-4/+4
| | | | Notes: svn path=/head/; revision=9964
* Implement locale-sensitive strftime () from ADO (heavily modifiedGarrett Wollman1995-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> Notes: svn path=/head/; revision=9912
* On snap 950210, format %s (print seconds from the epoch) is missingJoerg Wunsch1995-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) Notes: svn path=/head/; revision=6815
* The rest of tzcode94g from Arthur David Olson.Garrett Wollman1994-09-131-0/+393
Obtained From: Arthur David Olson, ftp://elsie.nci.nih.gov/pub/tzcode94g.tar.gz Notes: svn path=/vendor/tzcode/dist/; revision=2708