Timex.parse for {Zabbr} not working
Open
- Dominant language
- Elixir
- Stars
- 1.8k
- Forks
- 407
- PR merge metrics
- No merged PRs in 30d
Description
Hey @everyone.
I was trying to parse some dates and noticed that the parse pattern matching for {Zabbr} not working.
Example:
Timex.parse("07/24/2023 05:46:15 AM EDT", "{0M}/{0D}/{YYYY} {h12}:{m}:{s} {AM} {Zabbr}")
But for example the {Zname} works:
Timex.parse("07/24/2023 05:46:15 AM America/New_York", "{0M}/{0D}/{YYYY} {h12}:{m}:{s} {AM} {Zname}")
If you inspect the Timex.Timezone.get("America/New_York").abbreviation it returns EDT, so I am sure that EDT is the {Zabbr}
The "America/New_York" is just an example here, all {Zabbr} are not working.
Timex version: @version "3.7.11"
Contributor guide
Assessment
This issue has not been assessed yet.