JuliaCon / JuliaCon.jl

JuliaCon. Everywhere.
MIT License
75 stars 9 forks source link

Allow legacy timezone #34

Closed jaakkor2 closed 1 year ago

jaakkor2 commented 1 year ago

My localzone() shows Europe/Kiev that is a legacy name for Europe/Kyiv.

julia> localzone()
Europe/Kiev (UTC+2/UTC+3)

julia> istimezone(string(localzone()))
false

julia> istimezone("Europe/Kyiv")
true

julia> istimezone("Europe/Kiev")
false

julia> istimezone(string(localzone()), TimeZones.Class(:DEFAULT) | TimeZones.Class(:LEGACY))
true
codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (c1ea853) 84.31% compared to head (2695600) 84.31%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #34 +/- ## ======================================= Coverage 84.31% 84.31% ======================================= Files 4 4 Lines 357 357 ======================================= Hits 301 301 Misses 56 56 ``` | [Impacted Files](https://app.codecov.io/gh/JuliaCon/JuliaCon.jl/pull/34?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JuliaCon) | Coverage Δ | | |---|---|---| | [src/preferences.jl](https://app.codecov.io/gh/JuliaCon/JuliaCon.jl/pull/34?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JuliaCon#diff-c3JjL3ByZWZlcmVuY2VzLmps) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.