Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add better handling of simple zoneinfo files.
This adds support for timezones with no defined transitions (UTC), and ones that define a single transition for a simple offset. This also improves the normal search function to properly handle dates that fall to the future of the last transition point, and thus cannot be bracketed. Dates in the past before the first transition point give a more descriptive error. Fixes #11093
- Loading branch information
Showing
1 changed file
with
24 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters