X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/05438e8999dbc0edc4cc82c3df4cc5efdedb777e..cca956b199841d754e8a78391d2e2c7efce4a3ee:/lib/dateparse.c diff --git a/lib/dateparse.c b/lib/dateparse.c index 2a25292..f390d0c 100644 --- a/lib/dateparse.c +++ b/lib/dateparse.c @@ -38,6 +38,9 @@ static const char *const datemsk[] = { /* ISO format */ "%Y-%m-%d %H:%M:%S", + /* Generic time, same day */ + "%H:%M:%S", + "%H:%M", /* "%Y-%m-%d %H:%M:%S %Z" - no, not sensibly supported anywhere */ /* Locale-specific date + time */ "%c", @@ -45,9 +48,6 @@ static const char *const datemsk[] = { /* Locale-specific time, same day */ "%X", "%EX", - /* Generic time, same day */ - "%H:%M", - "%H:%M:%S", NULL, };