summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdtime/strptime.c
Commit message (Collapse)AuthorAgeFilesLines
* Prevent digit-gobbling for all but %l and %e, which can't be fixed.sheldonh1999-12-081-12/+46
| | | | | | | | 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-301-1/+14
| | | | | | Add %EF (long months name / day order) Check that O and E not intermixed Add missing POSIX extension to example
* 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
* 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
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Make the new %Z addition thread-safe.obrien1999-07-061-19/+49
|
* Actually impliment the documented %Z specifier.obrien1999-07-041-1/+32
|
* Re-fixed to start at 1969 per the actual Posix requirement. Alsowes1999-04-251-2/+2
| | | | fixed a typo on the man page.
* Bring two-digit years up-to-date with POSIX requirements.wes1999-04-251-1/+3
| | | | | | | | 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>
* Change return type of strptime from const char* to char*.dt1998-09-121-3/+3
| | | | const char* was wrong and nonstandard.
* 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-091-315/+306
| | | | | | | | 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].
* Clean import of strptime(3) onto a vendor branch.joerg1997-08-091-0/+358
Submitted by: Powerdog Industries <kevin.ruddy@powerdog.com>
OpenPOWER on IntegriCloud