diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-04-13 16:21:22 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-04-13 16:21:22 +0300 |
commit | f156eb53457a9e4e34c1b96f9e54eb130dffd8a3 (patch) | |
tree | 793b7346af079f55e1c1d4abd490413218fa1a95 /test/negtime.awk | |
parent | 0325b4daf737414c3b811b05c70b897b807a436b (diff) | |
download | gawk-f156eb53457a9e4e34c1b96f9e54eb130dffd8a3.tar.gz |
Remove fatal error if strftime timestamp < 0.
Diffstat (limited to 'test/negtime.awk')
-rw-r--r-- | test/negtime.awk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/negtime.awk b/test/negtime.awk new file mode 100644 index 00000000..743c6d05 --- /dev/null +++ b/test/negtime.awk @@ -0,0 +1,4 @@ +BEGIN { +then = mktime("1959 12 15 7 00 00") +print strftime(PROCINFO["strftime"], then) +} |