-
Notifications
You must be signed in to change notification settings - Fork 471
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce locale-dependence in non-iso-calendars.js
Previously, this test checked for a particular format. This would break depending on which engine executed it. Instead, test for the presence of particular types and their values in the output of formatToParts(). (There's an existing comment which suggests that this should already have been testing formatToParts().)
- Loading branch information
Showing
1 changed file
with
282 additions
and
53 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