From 81959da8f2314e5f83ffddf79fd48b0439e345a4 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 23 Mar 2022 20:07:46 -0400 Subject: TODO: Add tasks --- diff --git a/TODO b/TODO index aa5a538..9c19fdc 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,12 @@ +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 +datetime_parse()'s third arg should be a (struct tm *) +if -d, printf() parsed time, not diff from epoch +drop timegm() +try to fix dst bug test with other libc's (newlib? musl? fbsd? obsd?) `./@ 7:00 PM` doesn't work with musl strptime() test other times -- cgit v0.9.1