allow lowercase time format as provided by http.c

This commit is contained in:
Tuukka Hastrup
2015-09-27 19:15:12 +03:00
parent 89e3ffd176
commit c6f0ecd832
+3
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