-
Notifications
You must be signed in to change notification settings - Fork 914
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Handle a null DateTimeZone as we did before, by propagating the null. This is used to indicate an invalid zone in our Ruby Time logic. * Provide a map of zone aliases to pick up the old three-letter zones. This helps but is not sufficient to handle all three-letter formats tested by specs and tests (e.g. "PDT"). * For fixed-offset zones, use the offset rather than the ID. This causes those zones to lose their ID, so "AST-3:00:00" becomes an unnamed ZoneOffset of "3:00:00". This leads to other failures when the ID and offset are both expected to propagate into Time.
- Loading branch information
Showing
2 changed files
with
13 additions
and
3 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
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