Merge pull request #44 from tuukka/fix-time-params

allow lowercase time format as provided by http.c
This commit is contained in:
JP Mens 2015-09-27 19:12:28 +02:00
commit 967657d565

View File

@ -230,6 +230,9 @@ static int str_time_to_secs(char *s, time_t *secs)
"%Y-%m-%dT%H:%M:%S",
"%Y-%m-%dT%H:%M",
"%Y-%m-%dT%H",
"%Y-%m-%dt%H:%M:%S",
"%Y-%m-%dt%H:%M",
"%Y-%m-%dt%H",
"%Y-%m-%d",
"%Y-%m",
NULL