summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdtime
Commit message (Collapse)AuthorAgeFilesLines
* Remove discussion of %C in the BUGS section. The limitations on validsheldonh1999-12-091-4/+0
| | | | | centuries are much more serious than those mentioned and this is not the place to discuss the limitations of time_t.
* Prevent digit-gobbling for all but %l and %e, which can't be fixed.sheldonh1999-12-082-12/+85
| | | | | | | | Discuss in the BUGS section of the manpage, problems involved with the use of %C, %e, %l, %p, %U and %W. PR: 13901 Reported by: scott@chronis.pobox.com
* Accept 12 for %l, because it's logical to expect "%l:%M" to work forsheldonh1999-12-081-1/+1
| | | | "12:00" and because strftime(3) does the same.
* %Ex -> %Ef to not conflict with POSIXache1999-11-305-13/+53
| | | | | | Add %EF (long months name / day order) Check that O and E not intermixed Add missing POSIX extension to example
* Document %Ex and %OBache1999-11-301-2/+4
|
* Stricter checking %A vs %aache1999-11-301-11/+13
|
* Fix %C handlingache1999-11-301-14/+52
| | | | | | Use locale for %c Add %+ Add %Ex and %OB
* Add %Ex extension to determine "%e %b" or "%b %e" orderache1999-11-303-8/+22
| | | | Separate alternative for O and E cases
* Decremement by 1 the value taken for %j before assigning it to tm_yday,sheldonh1999-11-101-6/+50
| | | | | | | | | | | | | | | | | which is zero-based. Correct the range checking for the value taken for %S. Add %w for the day of the week (0-6). Accept (but do nothing with) %U and %W. The comment for this change was taken from NetBSD. These changes were made after several failed attempts to contact the author of our strptime.c . PR: 10131 Submitted by: tadf@kt.rim.or.jp (Tadayoshi Funaba)
* Add unsigned char cast to isupperache1999-11-041-1/+1
|
* Implement new format specifier for strftime: %OB, alternative nationaldt1999-09-113-19/+58
| | | | | | | | | 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
* Spelling and grammar error fix.phantom1999-09-041-2/+8
| | | | | | | | mdoc(7)'fy. PR: docs/13406 Submitted by: Garret Woolman <woolman@khavrinen.lcs.mit.edu> Reviewed by: mpp
* $Id$ -> $FreeBSD$peter1999-08-2810-10/+10
|
* Add $Id$ tag.chris1999-08-141-0/+2
|
* Bad reference time(2) changed to time(3)chris1999-08-141-1/+1
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Make the new %Z addition thread-safe.obrien1999-07-061-19/+49
|
* Actually impliment the documented %Z specifier.obrien1999-07-042-2/+44
|
* Spell the .St macro correctly.steve1999-06-071-1/+1
| | | | PR: 11704
* Re-fixed to start at 1969 per the actual Posix requirement. Alsowes1999-04-252-7/+7
| | | | fixed a typo on the man page.
* Bring two-digit years up-to-date with POSIX requirements.wes1999-04-252-2/+12
| | | | | | | | 70-00 are intepreted in the 20th century; 01-69 in the 21st century. (Yes, 2000 is the last year of the 20th century, not the first year of the 21st.) Submitted by: Sergey Babkin <babkin@bellatlantic.net>
* Merge from vendor branch: timezone file structure changes and doco.wollman1999-01-213-25/+45
| | | | | | Fix localtime.c to deal with new magic number field. Obtained from: ftp://elsie.nci.nih.gov/pub/tzcode1999a.tar.gz
* Make ctime_r, asctime_r, gmtime_r, and localtime_r available in libc.dt1999-01-042-13/+4
|
* Add STANDARDS section.wollman1999-01-031-6/+37
| | | | | s/bytes/characters/g to be consistent with Standard C terminology. Update date and add RCS Id.
* Fix grammar in the description of timegm() by totally rewriting it. Removewollman1999-01-031-20/+29
| | | | | a potentally inflammatory comment from BUGS, and add a more useful comment about the lack of reentrancy in the timezone-setting interface.
* Added documenation for the existing implementation of asctime_r,wes1998-12-201-0/+35
| | | | ctime_r, gmtime_r, and localtime_r.
* Replace memory leaking instances of realloc with non-leaking reallocf.imp1998-09-162-4/+9
| | | | | | | | | | | In some cases replace if (a == null) a = malloc(x); else a = realloc(a, x); with simple reallocf(a, x). Per ANSI-C, this is guaranteed to be the same thing. I've been running these on my system here w/o ill effects for some time. However, the CTM-express is at part 6 of 34 for the CAM changes, so I've not been able to do a build world with the CAM in the tree with these changes. Shouldn't impact anything, but...
* Change return type of strptime from const char* to char*.dt1998-09-122-5/+5
| | | | const char* was wrong and nonstandard.
* 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).
* Fix grammar, "null" -> "NUL"danny1998-06-101-5/+5
|
* Remove 'of type long' from a sentence talking about four 4-byte valuesjb1998-05-101-2/+1
| | | | because that is wrong on alpha.
* Make asctime_r static if !_THREAD_SAFE to prevent namespace pollution andache1998-04-251-0/+7
| | | | prototype mismatch
* Add a #ifdef _THREAD_SAFE around ctime_rphk1998-04-201-0/+2
|
* Describe timegm()ache1998-04-202-5/+16
|
* ctime_r and asctime_r are not implemented.phk1998-04-192-3/+21
| | | | | | | | prototypes in time.h do not match POSIX. PR: 6345 Reviewed by: phk Submitted by: Dmitry Khrustalev <dima@xyzzy.machaon.ru>
* Change in name of the static initializer define.jb1998-04-041-4/+4
|
* Submitted by: Jeremy Allison (jallison@whistle.com)julian1998-02-181-3/+5
| | | | | | fix a slight confusion about which draft of threads we are supporting. this allows something as big and ugly as samba to be compiled with libc_r and still work! our user-level pthreads seems amazingly robust!
* Typo.helbig1997-10-261-1/+1
|
* Sorted lists.bde1997-10-211-4/+3
|
* Removed the subdirectory paths from the definitions of MAN[1-9]. Theybde1997-10-151-5/+4
| | | | | were a workaround for limitations in bsd.man.mk that were fixed about 2 years ago.
* Merged in better support of ISO 8601 from elsie.nci.nih.gov.helbig1997-10-032-62/+118
| | | | | Added the conversion specifiers %g and %G, that are replaced by the year which contains the greater part of the week in question.
* environmental -> environment.charnier1997-09-181-1/+1
|
* Add unsigned char cast to all ctype callsache1997-08-131-27/+27
|
* Import strptime(3) into libc. We've got permission by Kevin Ruddy tojoerg1997-08-097-495/+646
| | | | | | | | 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].
* This commit was generated by cvs2svn to compensate for changes in r28019,joerg1997-08-091-0/+358
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Clean import of strptime(3) onto a vendor branch.joerg1997-08-091-0/+358
| | | | Submitted by: Powerdog Industries <kevin.ruddy@powerdog.com>
* `it's'' -> `its'' where appropriate and typo fixes in time2posix.3.eivind1997-05-191-2/+2
| | | | | | Closes PR docs/3612. Submitted by: Josh Gilliam <soil@quick.net>
* Changed all paths to be relative to src/lib instead of src/lib/libcjb1997-05-031-1/+6
| | | | | | | | | | so that all these makefiles can be used to build libc_r too. Added .if ${LIB} == "c" tests to restrict man page builds to libc to avoid needlessly building them with libc_r too. Split libc Makefile into Makefile and Makefile.inc to allow the libc_r Makefile to include Makefile.inc too.
* Fixed wording of previous change.bde1997-03-311-1/+1
| | | | | Obtained from: fgets.3 Guided by: ISO C standard
* Revert my last few changes. They were bogus. Replaced them withimp1997-03-311-14/+4
| | | | | | | the original text plus a statement saying that if strftime fails, the results are undefined. Requested a long time ago by: bde
OpenPOWER on IntegriCloud