Skip to content
代码片段 群组 项目
未验证 提交 4f3fa23e 编辑于 作者: Luc Ritchie's avatar Luc Ritchie 提交者: GitHub
浏览文件

[utils] Fix parsing `YYYYMMDD` dates in Nov/Dec (#2094)

The date format `%Y%m%d%H%M` will successfully match against
one-digit month, day, hour, and minute strings, even though %m et al.
are documented as being zero-padded. So dates without time in
Nov/Dec may be wrongly parsed as dates in January with time.

This commit adds a format string of `%Y%m%d` to our supported date
format strings directly below (higher priority) its problematic relatives.

Closes #2076
Authored by: wlritchi
上级 b28bac93
No related branches found
No related tags found
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册