Merge branch 'v0.22.x'
This commit is contained in:
@@ -202,7 +202,7 @@ ParseISO8601(const char *s)
|
||||
}
|
||||
|
||||
/* parse the date */
|
||||
const char *end = strptime(s, "%F", &tm);
|
||||
const char *end = strptime(s, "%Y-%m-%d", &tm);
|
||||
if (end == nullptr) {
|
||||
/* try without field separators */
|
||||
end = strptime(s, "%Y%m%d", &tm);
|
||||
|
Reference in New Issue
Block a user