summaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2022-03-28 19:49:46 (EDT)
committer P. J. McDermott <pj@pehjota.net>2022-03-28 20:11:53 (EDT)
commit4a3bbead361b7c58c8259c3fcfc13a04866fd622 (patch)
treebf78bf8e140b3fa617f8609cd400419a2d93e2dd /TODO
parent81959da8f2314e5f83ffddf79fd48b0439e345a4 (diff)
downloadatsign-4a3bbead361b7c58c8259c3fcfc13a04866fd622.zip
atsign-4a3bbead361b7c58c8259c3fcfc13a04866fd622.tar.gz
atsign-4a3bbead361b7c58c8259c3fcfc13a04866fd622.tar.bz2
datetime: Don't use mktime()/localtime() shortcuts
Diffstat (limited to 'TODO')
-rw-r--r--TODO6
1 files changed, 1 insertions, 5 deletions
diff --git a/TODO b/TODO
index 9c19fdc..a6a7beb 100644
--- a/TODO
+++ b/TODO
@@ -1,8 +1,4 @@
-don't use mktime() shortcut in _datetime_normalize()
- arg_tm in datetime_parse() is currently incorrect after normalization
- this fixes that and avoids assuming that time_t is in single seconds
- use difftime()
- don't clobber now_tm
+use difftime() in _datetime_normalize()
datetime_parse()'s third arg should be a (struct tm *)
if -d, printf() parsed time, not diff from epoch
drop timegm()