Mikael Magnusson 
								
							 
						 
						
							
							
							
							
								
							
							
								8773f01f2b 
								
							 
						 
						
							
							
								
								47494, 47495: Add -n option to strftime  
							
							
							
						 
						
							2020-10-25 23:06:02 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									dana 
								
							 
						 
						
							
							
							
							
								
							
							
								f64cd71d44 
								
							 
						 
						
							
							
								
								43935: Reject too-large nanosecond values given to strftime  
							
							... 
							
							
							
							... 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. 
							
						 
						
							2018-12-24 02:42:18 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									dana 
								
							 
						 
						
							
							
							
							
								
							
							
								5ad76492af 
								
							 
						 
						
							
							
								
								43800: Add nanosecond support to strftime built-in  
							
							
							
						 
						
							2018-11-13 13:01:01 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									dana 
								
							 
						 
						
							
							
							
							
								
							
							
								394f3a47e4 
								
							 
						 
						
							
							
								
								43075: Support nanosecond-precision time formatting  
							
							... 
							
							
							
							* 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 
							
						 
						
							2018-06-20 17:29:56 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jun-ichi Takimoto 
								
							 
						 
						
							
							
							
							
								
							
							
								0697c45ab3 
								
							 
						 
						
							
							
								
								40681: strftime builtin should return 1 if ztrftime() returns -1  
							
							
							
						 
						
							2017-03-02 11:09:12 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jun-ichi Takimoto 
								
							 
						 
						
							
							
							
							
								
							
							
								f912e83505 
								
							 
						 
						
							
							
								
								39728: define _GNU_SOURCE on Cygwin  
							
							
							
						 
						
							2016-11-07 11:36:17 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jun-ichi Takimoto 
								
							 
						 
						
							
							
							
							
								
							
							
								fff0080400 
								
							 
						 
						
							
							
								
								38862: strptime(3) requires _XOPEN_SOURCE on Cygwin  
							
							
							
						 
						
							2016-07-19 14:54:59 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jun-ichi Takimoto 
								
							 
						 
						
							
							
							
							
								
							
							
								ca3bc0d95d 
								
							 
						 
						
							
							
								
								37838: use UNUSED() consistently  
							
							
							
						 
						
							2016-01-30 00:26:23 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								f8164fb647 
								
							 
						 
						
							
							
								
								36227: attempt to fix metafication problem with ztrftime.  
							
							... 
							
							
							
							fmt is treated as metafied on entry; use returned length to ensure
we metafy or output the correct length if there are embedded nulls. 
							
						 
						
							2015-08-18 16:20:48 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								5292d60eb1 
								
							 
						 
						
							
							
								
								Revert "36222: unmetafy output from strftime"  
							
							... 
							
							
							
							This reverts commit 8141a3d850 
							
						 
						
							2015-08-18 14:27:42 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								8141a3d850 
								
							 
						 
						
							
							
								
								36222: unmetafy output from strftime  
							
							
							
						 
						
							2015-08-18 12:36:51 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Oliver Kiddle 
								
							 
						 
						
							
							
							
							
								
							
							
								a257525afc 
								
							 
						 
						
							
							
								
								35681: fix day of month initialisation  
							
							
							
						 
						
							2015-07-03 22:59:27 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barton E. Schaefer 
								
							 
						 
						
							
							
							
							
								
							
							
								0164457a19 
								
							 
						 
						
							
							
								
								34961: $TZ is implicitly local in builtin strftime (originally workers/34602 from workers/34596)  
							
							
							
						 
						
							2015-04-25 10:57:44 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								51c0ccd303 
								
							 
						 
						
							
							
								
								missed updates to calls to ztrftime()  
							
							
							
						 
						
							2014-07-30 14:20:07 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								3ba487ca77 
								
							 
						 
						
							
							
								
								unposted: use pm->node.nam to get names for parameters in errors  
							
							
							
						 
						
							2011-08-15 19:32:30 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								8cbd510002 
								
							 
						 
						
							
							
								
								29674: add $epochtime to datetime  
							
							
							
						 
						
							2011-08-11 18:45:04 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								bbbaed2b53 
								
							 
						 
						
							
							
								
								29663: add $EPOCHREALTIME to zsh/datetime  
							
							
							
						 
						
							2011-08-10 11:31:18 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								9c0a19669b 
								
							 
						 
						
							
							
								
								Danek: 29254: fix some compiler warnings  
							
							
							
						 
						
							2011-05-13 18:12:05 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								31123a1184 
								
							 
						 
						
							
							
								
								users/14902: another go at strftime  
							
							
							
						 
						
							2010-02-26 17:07:18 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								d5a0f7623c 
								
							 
						 
						
							
							
								
								users/14900: ULONG_MAX is a valid return value from strotoul()  
							
							
							
						 
						
							2010-02-26 15:30:37 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								e8c1e2ff4c 
								
							 
						 
						
							
							
								
								users/14897: extra test in strftime builtin for time conversion  
							
							
							
						 
						
							2010-02-26 14:24:57 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								6e58a1df8f 
								
							 
						 
						
							
							
								
								24197: interface to ztrftime() for insufficient memory was broken  
							
							
							
						 
						
							2007-12-09 14:58:36 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								1b52f47cf2 
								
							 
						 
						
							
							
								
								23665: autoloading of module features and related tweaks  
							
							
							
						 
						
							2007-07-06 21:52:38 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								b0c5f09169 
								
							 
						 
						
							
							
								
								see 23479: add initial features support for modules  
							
							
							
						 
						
							2007-05-28 22:57:39 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								d0b9eddd9a 
								
							 
						 
						
							
							
								
								22613: add strftime -r to use strptime() if available  
							
							
							
						 
						
							2006-08-17 15:28:11 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								dd5602f59b 
								
							 
						 
						
							
							
								
								22474: use variable argument lists to improve error message handling  
							
							
							
						 
						
							2006-05-30 22:35:03 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Wayne Davison 
								
							 
						 
						
							
							
							
							
								
							
							
								4cb83571c4 
								
							 
						 
						
							
							
								
								Changed some structures to avoid gcc's type-punned warnings.  
							
							
							
						 
						
							2006-03-07 21:30:36 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Wayne Davison 
								
							 
						 
						
							
							
							
							
								
							
							
								7c9c5bff0d 
								
							 
						 
						
							
							
								
								If we are saving the ztrftime() value in a variable, we now metafy  
							
							... 
							
							
							
							the string (using META_DUP) instead of duplicating it via ztrdup(). 
							
						 
						
							2006-01-13 09:02:43 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								69b4b8bdde 
								
							 
						 
						
							
							
								
								20605: Use separate structure with get/set/unset methods fro parameters.  
							
							... 
							
							
							
							Separate justification width of parameters from base/precision. 
							
						 
						
							2004-12-07 16:54:58 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Wayne Davison 
								
							 
						 
						
							
							
							
							
								
							
							
								fb0937a69e 
								
							 
						 
						
							
							
								
								Marked unused parameters with the new UNUSED() macro.  
							
							
							
						 
						
							2004-06-02 22:14:25 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Wayne Davison 
								
							 
						 
						
							
							
							
							
								
							
							
								327481b391 
								
							 
						 
						
							
							
								
								Silenced one signed/unsigned comparison compiler warning.  
							
							
							
						 
						
							2004-05-28 19:22:17 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								f57f65282b 
								
							 
						 
						
							
							
								
								19877: improved test for empty strftime strings  
							
							
							
						 
						
							2004-05-04 16:43:29 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								e461877f40 
								
							 
						 
						
							
							
								
								19389+: fix zmodload -u zsh/datetime, add strftime -s scalar  
							
							
							
						 
						
							2004-01-22 17:51:05 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								6e46881fe9 
								
							 
						 
						
							
							
								
								18169: change parameter SECS in datetime to EPOCHSECONDS  
							
							
							
						 
						
							2003-10-08 13:37:10 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								ed6a7ba60e 
								
							 
						 
						
							
							
								
								19168: Various problems with size of buffers and pointer usage in ztrftime  
							
							
							
						 
						
							2003-10-06 22:46:24 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Clint Adams 
								
							 
						 
						
							
							
							
							
								
							
							
								95030cd034 
								
							 
						 
						
							
							
								
								19151: Src/Modules/datetime.c: add $SECS parameter for seconds since epoch.  
							
							
							
						 
						
							2003-09-28 16:26:58 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								9634760d5e 
								
							 
						 
						
							
							
								
								17582: Improved option argument handling.  
							
							... 
							
							
							
							unposted: Updated version to 4.1.0-dev-6 because of interface change. 
							
						 
						
							2002-08-27 21:10:30 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Clint Adams 
								
							 
						 
						
							
							
							
							
								
							
							
								19424d40a8 
								
							 
						 
						
							
							
								
								17417: remove unused fluff from datetime.c  
							
							
							
						 
						
							2002-07-04 17:03:18 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Clint Adams 
								
							 
						 
						
							
							
							
							
								
							
							
								189aa5c9f2 
								
							 
						 
						
							
							
								
								17235: strftime builtin  
							
							
							
						 
						
							2002-05-26 22:43:56 +00:00