Mikael Magnusson
8773f01f2b
47494, 47495: Add -n option to strftime
2020-10-25 23:06:02 +01:00
dana
162c198aab
43953: Fix rounding/truncation error in %. time-format specifier
...
Also fixes an issue where %. couldn't be used more than once in a format
string without strange results
Tweaked very slightly per workers/43954
2018-12-29 05:24:25 -06: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
Jun-ichi Takimoto
2ff71e84ba
40820: add a few tests of strftime, related to 40681
2017-03-12 21:04:22 +09:00
Peter Stephenson
f5b8efa7e0
37344: restore old printable quoting, add ${(q+)...}.
...
The \C- form is only used inside quotedzputs().
${(q+)...} outputs a quotedzputs() representation.
2015-12-07 21:49:07 +00:00
Peter Stephenson
d290874c48
37335: fix tests after 34314
2015-12-07 10:36:45 +00:00
Barton E. Schaefer
b1688305cc
37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip
2015-11-21 23:56:25 -08:00
Peter Stephenson
946e5d89a9
users/20466 plus comment: change test for skipping strftime extensions.
...
This test is known to fail on Solaris, but seems to work in other
common implementations. Hence there seems no point in having the
release fall over on this test. Needs further investigation later.
2015-08-28 09:42:31 +01:00
Peter Stephenson
8ed6bc0a85
36241: Test for ztrftime fix, 36227 / f8164fb6
.
...
Check that embedded null characters get passed correctly through
the strftime module builtin.
2015-08-19 11:13:31 +01:00
Mikael Magnusson
653761fe28
35761: Make sure to skip alternate format extension test properly
2015-07-10 20:24:59 +02:00
Peter Stephenson
9152ff3b46
35760: Add ZTST_skip to test system
2015-07-10 14:47:19 +01:00
Mikael Magnusson
41888ae936
unposted: Make V09 set a known timezone
2015-07-09 18:03:00 +02:00
Mikael Magnusson
e402747dd6
35745: ztrftime: Pass everything unhandled to the system strftime()
2015-07-09 15:32:55 +02:00