summaryrefslogtreecommitdiffstats
path: root/lib/libc/time (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* the one true type of time_t is a signed integertedu2015-02-094-60/+19
|
* remove INITIALIZE macro and do it the hard way.tedu2015-02-092-36/+4
|
* unifdef the rest of the HAVEs and HAVE notstedu2015-02-091-30/+1
|
* unifdef have gettext. don't have it, won't have it.tedu2015-02-091-10/+1
|
* move include lines around a bittedu2015-02-095-19/+17
|
* trim down some of the ifndef redefine madnesstedu2015-02-091-90/+10
|
* replace homegrown is_digit with correct calls to isdigit()tedu2015-02-092-10/+7
|
* move zic and zdump source to appropriate directoriestedu2015-02-095-3991/+0
|
* stop trying to workaround malloc bugs that have not existed for 20 years.tedu2015-02-094-120/+37
| | | | ok deraadt
* search engines replaced these files a long TIME agoderaadt2015-02-092-1195/+0
|
* if isascii isn't defined, don't define a retarded versiontedu2015-02-091-4/+1
|
* greatly simplfy and correct difftime for large time_t. ok guenthertedu2015-02-091-55/+5
|
* this removes just a few ifdef checks for things that should always be enabled,tedu2015-02-095-65/+8
| | | | | | | | | and which we definitely don't want to workaround. no change in the compiled code (yet). some of these, like the first chunk are plain silly. the compiler used to compile asctime has nothing to do with the format strings strftime should support. ok deraadt
* Use .Rv where appropriate, and move it to RETURN VALUES;schwarze2015-01-291-11/+11
| | | | | remove .Tn, and a few minor macro adjustments. Patch from Kaspars at Bankovskis dot net.
* simplify wording; triggered by a shorter diff from Kaspars Bankovskis;schwarze2014-12-041-7/+7
| | | | OK jmc@ jasper@
* Reduce instances of `` '' in manuals.bentley2014-11-151-3/+4
| | | | | | | | | | | | troff displays these as typographic quotes, but nroff implementations almost always print them literally, which rarely has the intended effect with modern fonts, even in stock xterm. These uses of `` '' can be replaced either with more semantic alternatives or with Dq, which prints typographic quotes in a UTF-8 locale (but will automatically fall back to `` '' in an ASCII locale). improvements and ok schwarze@
* Add UTC support to %Z conversion in strptime().doug2014-10-111-3/+10
| | | | | | Patch from jmates at ee dot washington dot edu. ok otto@, millert@
* Fix a crash when there is text after a failed %Z conversion in strptime.doug2014-10-021-6/+7
| | | | | | | | jmates at ee dot washington dot edu reported this bug and provided a patch. This is a slightly modified version of the patch that only contains the bug fix. ok millert@, otto@
* obvious cases of missing .An;schwarze2014-09-081-3/+4
| | | | | found with the new mandoc(1) MANDOCERR_AN_MISSING warning; no text changes
* enh@google reported a warning in crufty y2k code. just delete it.tedu2014-05-063-44/+3
| | | | ok deraadt stsp
* Fix logic bug; we can only infer tm_yday if both tm_mday and tm_monmillert2014-02-131-2/+2
| | | | are set. Adapted from a diff from David Higgs. OK krw@
* Update C standard reference to C99 and document HISTORY and AUTHORS;schwarze2014-01-241-5/+24
| | | | using input from millert@, reminded by and ok jmc@
* also document that ctime* and asctime* can return NULL; ok deraadt@, millert@otto2014-01-231-2/+6
|
* document return values; ok deraadt@, jmc@otto2014-01-211-1/+12
|
* obvious .Pa fixes; found with mandocdb(8)schwarze2014-01-211-3/+3
|
* most obvious unsigned char casts for ctypederaadt2013-11-241-3/+3
| | | | ok jca krw ingo
* more library historyschwarze2013-07-171-2/+7
| | | | | facts checked by sobrado@ style tweaks and ok jmc@
* Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzetedu2013-06-056-20/+20
|
* add some prototypes, casts, includes, parenthesis, and whatnot totedu2013-04-171-4/+4
| | | | silence some warnings.
* Properly handle "%%" and "%N" where N is not a supported escape.millert2013-01-201-1/+3
| | | | This is consistent with strftime(3) behavior. OK stsp@
* Fix verbiage to make it clear that on success the return value ofkrw2013-01-051-3/+3
| | | | | | strftime() is the number of characters printed. POSIX verbiage verified by jmc@, ok jmc@.
* Update to tzcode2012f. Now that tzcode is in git there are no moemillert2012-09-1314-91/+56
| | | | SCCS ids. No actual code changes.
* RFC updates:jmc2012-08-181-3/+3
| | | | | | 5322 obsoletes 2822 5321 obsoletes 821 and 2821 6409 obsoletes 2476 and 4409
* Update to tzcode2012a from munnari.oz.aumillert2012-03-014-20/+36
|
* Fix several manpage titles, from Lawrence Teo.haesbaert2012-02-261-3/+3
| | | | ok dcoppa@ jmc@ schwarze@.
* POSIX indicates that some fields should be computed even if notmillert2012-01-161-2/+68
| | | | | | explicitly set. We can compute tm_yday, tm_wday, tm_mon and tm_mday based on the values that were specified if possible. Some logic borrowed from localtime.c. OK espie@ deraadt@
* Hook wcsftime(3) to the build; committing on behalf of espiestsp2011-10-161-3/+3
|
* put in code for wcstfime, as discussed with millert@ and stsp@ (and testedespie2011-10-102-0/+605
| | | | by ajacoutot@, thx), to be linked in and activated alongside wscanf...
* Stop defining XPG4_1994_04_09.ajacoutot2011-10-101-2/+1
| | | | | | | | | | | | | | | | As kettenis@ pointed at, http://pubs.opengroup.org/onlinepubs/009695399/functions/strftime.html has the following: The Open Group Corrigendum U033/8 is applied. The %V conversion specifier is changed from "Otherwise, it is week 53 of the previous year, and the next week is week 1" to "Otherwise, it is the last week of the previous year, and the next week is week 1". In effect, strftime(3) with the "%V" format will now return "52" instead of "53" for days in January before the first Monday, when January 1st falls on a Friday, Saturday, or Sunday. ok kettenis@ millert@
* after some thought, i think it unlikely that we will need to specifyjmc2011-09-162-8/+8
| | | | | | | | | | a revision number for ISO 8601; in addition, the revision number makes the text unwieldy when discussing the standard in a casual manner. therefore change the macro from -8601-4 to simply -8601, which will output "ISO 8601". i'll get kristaps or ingo to make the change upstream to mandoc. discussed with/ok millert
* use .St here for ISO 8601 references; ok millertjmc2011-09-162-9/+21
|
* RFC-2822 -> RFC 2822jmc2011-09-161-3/+3
|
* only one leap second is permitted, not two; from guentherjmc2011-08-312-8/+8
|
* Enable the knob to dynamically allocate (large) state structures.millert2011-07-011-1/+2
|
* Update to tzcode2011g from elsie.nci.nih.gov.millert2011-04-255-69/+165
|
* Fix typo, %F pattern corresponds to %Y-%m-%d (the ISO 8601 date format),landry2011-01-191-2/+2
| | | | | not %Y/%m/%d. Found while debugging geo/gpx-viewer. ok millert@ jasper@
* - missing leading '.' before 'It'.jasper2011-01-191-3/+3
| | | | spotted by landry@
* replace a large stack buffer with a malloc call, with help from matthew.tedu2010-11-301-25/+34
| | | | | ok deraadt [passed upstream to the tz list as well]
* tweak previous;jmc2010-11-081-3/+3
|
* Add %F, %g, %G, %u, %z (extended) and %Z.jasper2010-11-082-9/+334
| | | | | | | This is mostly a sync with NetBSD. tested in a bulk build by landry@ ok millert@