Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some files with dots in names being considered time zones #395

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

dkhalanskyjb
Copy link
Collaborator

According to the authoritative implementation
https://github.com/tzinfo/tzinfo/blob/9953fc092424d55deaea2dcdf6279943f3495724/lib/tzinfo/data_sources/zoneinfo_data_source.rb#L442 , all files with dots in their names aren't valid time zones. Now we implement the same logic.

According to the authoritative implementation
https://github.com/tzinfo/tzinfo/blob/9953fc092424d55deaea2dcdf6279943f3495724/lib/tzinfo/data_sources/zoneinfo_data_source.rb#L442
, all files with dots in their names aren't valid time zones.
Now we implement the same logic.
@dkhalanskyjb dkhalanskyjb requested a review from ilya-g May 17, 2024 14:22
@dkhalanskyjb dkhalanskyjb self-assigned this Jul 19, 2024
@dkhalanskyjb dkhalanskyjb modified the milestones: 0.7.0, 0.6.1 Jul 19, 2024
@dkhalanskyjb dkhalanskyjb added the timezone The model and API of timezones label Jul 19, 2024
@dkhalanskyjb dkhalanskyjb merged commit 29276fe into master Jul 23, 2024
1 check passed
@dkhalanskyjb dkhalanskyjb deleted the fix-ignoring-tzdb-files branch July 23, 2024 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
timezone The model and API of timezones
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants