about summary refs log tree commit diff
path: root/Src/Modules/datetime.c
Commit message (Collapse)AuthorAgeFilesLines
* 43935: Reject too-large nanosecond values given to strftimedana2018-12-241-1/+1
| | | | | | | ... and, in so doing, fix an error in the tests on 32-bit machines. The value for the new too-large test is changed slightly from the patch posted to the ML to make it test for the right thing on 32-bit machines as well.
* 43800: Add nanosecond support to strftime built-indana2018-11-131-18/+46
|
* 43075: Support nanosecond-precision time formattingdana2018-06-201-41/+5
| | | | | | | | * Teach ztrftime() %9. and %N for nanoseconds * Update prompt expansion to pass sub-second times for time formatting * Update zsh/stat to pass sub-second times for atime/mtime/ctime Patch heavily based on Oliver's earlier work @ workers/24059
* 40681: strftime builtin should return 1 if ztrftime() returns -1Jun-ichi Takimoto2017-03-021-2/+6
|
* 39728: define _GNU_SOURCE on CygwinJun-ichi Takimoto2016-11-071-3/+0
|
* 38862: strptime(3) requires _XOPEN_SOURCE on CygwinJun-ichi Takimoto2016-07-191-0/+3
|
* 37838: use UNUSED() consistentlyJun-ichi Takimoto2016-01-301-1/+1
|
* 36227: attempt to fix metafication problem with ztrftime.Peter Stephenson2015-08-181-4/+7
| | | | | fmt is treated as metafied on entry; use returned length to ensure we metafy or output the correct length if there are embedded nulls.
* Revert "36222: unmetafy output from strftime"Peter Stephenson2015-08-181-2/+1
| | | | This reverts commit 8141a3d850b1b9777a13d0107c262853734214b4.
* 36222: unmetafy output from strftimePeter Stephenson2015-08-181-1/+2
|
* 35681: fix day of month initialisationOliver Kiddle2015-07-031-1/+3
|
* 34961: $TZ is implicitly local in builtin strftime (originally workers/34602 ↵Barton E. Schaefer2015-04-251-1/+20
| | | | from workers/34596)
* missed updates to calls to ztrftime()Peter Stephenson2014-07-301-1/+1
|
* unposted: use pm->node.nam to get names for parameters in errorsPeter Stephenson2011-08-151-4/+6
|
* 29674: add $epochtime to datetimePeter Stephenson2011-08-111-1/+45
|
* 29663: add $EPOCHREALTIME to zsh/datetimePeter Stephenson2011-08-101-0/+27
|
* Danek: 29254: fix some compiler warningsPeter Stephenson2011-05-131-1/+1
|
* users/14902: another go at strftimePeter Stephenson2010-02-261-1/+1
|
* users/14900: ULONG_MAX is a valid return value from strotoul()Peter Stephenson2010-02-261-1/+2
|
* users/14897: extra test in strftime builtin for time conversionPeter Stephenson2010-02-261-0/+4
|
* 24197: interface to ztrftime() for insufficient memory was brokenPeter Stephenson2007-12-091-2/+2
|
* 23665: autoloading of module features and related tweaksPeter Stephenson2007-07-061-4/+4
|
* see 23479: add initial features support for modulesPeter Stephenson2007-05-281-14/+27
|
* 22613: add strftime -r to use strptime() if availablePeter Stephenson2006-08-171-1/+65
|
* 22474: use variable argument lists to improve error message handlingPeter Stephenson2006-05-301-2/+2
|
* Changed some structures to avoid gcc's type-punned warnings.Wayne Davison2006-03-071-2/+2
|
* If we are saving the ztrftime() value in a variable, we now metafyWayne Davison2006-01-131-1/+1
| | | | the string (using META_DUP) instead of duplicating it via ztrdup().
* 20605: Use separate structure with get/set/unset methods fro parameters.Peter Stephenson2004-12-071-1/+4
| | | | Separate justification width of parameters from base/precision.
* Marked unused parameters with the new UNUSED() macro.Wayne Davison2004-06-021-3/+3
|
* Silenced one signed/unsigned comparison compiler warning.Wayne Davison2004-05-281-1/+1
|
* 19877: improved test for empty strftime stringsPeter Stephenson2004-05-041-1/+1
|
* 19389+: fix zmodload -u zsh/datetime, add strftime -s scalarPeter Stephenson2004-01-221-4/+23
|
* 18169: change parameter SECS in datetime to EPOCHSECONDSPeter Stephenson2003-10-081-1/+1
|
* 19168: Various problems with size of buffers and pointer usage in ztrftimePeter Stephenson2003-10-061-7/+8
|
* 19151: Src/Modules/datetime.c: add $SECS parameter for seconds since epoch.Clint Adams2003-09-281-1/+14
|
* 17582: Improved option argument handling.Peter Stephenson2002-08-271-1/+1
| | | | unposted: Updated version to 4.1.0-dev-6 because of interface change.
* 17417: remove unused fluff from datetime.cClint Adams2002-07-041-3/+1
|
* 17235: strftime builtinClint Adams2002-05-261-0/+99