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
I was updating time from version 0.1 in one of my projects and was trying to parse a timestamp with format_description! and couldn't find a way to parse tz abbreviations. This was available in previous versions of time via strftime flag %Z.
Thank you for maintaining this library.
The text was updated successfully, but these errors were encountered:
Since you've closed the issue I presume you realized this, but for clarity, time 0.1 didn't really support it. The only thing that was parsed was "UTC" (or "GMT"; I can't remember), with everything else being a no-op.
Real support for formatting and parsing would be included as part of the tzdb implementation in #193. Keep in mind that even then, many abbreviations are ambiguous — "CST" could be US central time, Mexico central time, China standard time, etc.
Hello,
I was updating
time
from version0.1
in one of my projects and was trying to parse a timestamp withformat_description!
and couldn't find a way to parse tz abbreviations. This was available in previous versions oftime
viastrftime
flag%Z
.Thank you for maintaining this library.
The text was updated successfully, but these errors were encountered: