summaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2022-03-19 21:25:10 (EDT)
committer P. J. McDermott <pj@pehjota.net>2022-03-19 21:36:41 (EDT)
commit84ecc332421e4749ec5a35bddc656dd854ebe16e (patch)
treed545cd5759c2dad454deccfa6bcf784ef58b31d1 /TODO
parentcf9c057d273399f29eb0b86afa50294ad5d14d6d (diff)
downloadatsign-84ecc332421e4749ec5a35bddc656dd854ebe16e.zip
atsign-84ecc332421e4749ec5a35bddc656dd854ebe16e.tar.gz
atsign-84ecc332421e4749ec5a35bddc656dd854ebe16e.tar.bz2
datetime: Sanity check parsing results
Previously, "0000 1970-01-01" was parsed as 00:00:19 70-01-01. Fixes: not ok 614 - 0000 1970-01-01 FAIL: tests/parse.sh 614 - 0000 1970-01-01 # Failed test '0000 1970-01-01' # got: '-59958143981' # expected: '0' ok 615 - 1970/01/01 0000 PASS: tests/parse.sh 615 - 1970/01/01 0000 not ok 616 - 0000 1970/01/01 FAIL: tests/parse.sh 616 - 0000 1970/01/01 # Failed test '0000 1970/01/01' # got: '-59958143981' # expected: '0'
Diffstat (limited to 'TODO')
-rw-r--r--TODO1
1 files changed, 0 insertions, 1 deletions
diff --git a/TODO b/TODO
index 65918f0..3be30d2 100644
--- a/TODO
+++ b/TODO
@@ -1,5 +1,4 @@
spaces between specifiers in strptime() formats -- strftime()?
test with other libc's (newlib? musl? fbsd? obsd?)
-formats beginning with HHMM are mis-parsed as years
`./@ 7:00 PM` doesn't work with musl strptime()
gettext?