diff options
author | P. 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) |
commit | 4a3bbead361b7c58c8259c3fcfc13a04866fd622 (patch) | |
tree | bf78bf8e140b3fa617f8609cd400419a2d93e2dd /TODO | |
parent | 81959da8f2314e5f83ffddf79fd48b0439e345a4 (diff) | |
download | atsign-4a3bbead361b7c58c8259c3fcfc13a04866fd622.zip atsign-4a3bbead361b7c58c8259c3fcfc13a04866fd622.tar.gz atsign-4a3bbead361b7c58c8259c3fcfc13a04866fd622.tar.bz2 |
datetime: Don't use mktime()/localtime() shortcuts
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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() |