You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This happens because the parse_time function expects the format to have seconds, but some locales do not have those.
For example this is the CLDR definition for the short format in Czech:
Overview Description
parse_time
raises aValueError
when the given time format doesn't contain seconds e.g.H:mm
.Steps to Reproduce
This happens because the
parse_time
function expects the format to have seconds, but some locales do not have those.For example this is the CLDR definition for the
short
format in Czech:I think the obvious fix is to make the seconds optional and default to zero.
The text was updated successfully, but these errors were encountered: