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
The idea is to support padding with -, optional minutes or seconds by placing a ? between : from where it should be optional, and to use # to allow Z for 00:00.
I want to parse the following example string:
"03:00 +3"
where+3
is the timezone offset, i.e. the format%#z
or%:::z
but without leading zeros.I have already tried the format specifiers
%z
,%:z
,%::z
,%:::z
and%#z
%-z
,%-:z
,%-::z
,%-:::z
and%-#z
but I always get either
premature end of input
orbad or unsupported format string
errors.How can I specify this format?
The text was updated successfully, but these errors were encountered: