-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
intl: Make parsing two-digit years match the documented behavior
The `DateFormat` documentation claims that two-digit years will be interpreted to be within 80 years before and 20 years after the current date. I don't know if that was ever true (that documentation predates the creation of the GitHub repository). While I'm tempted to just remove that false claim, there are multiple GitHub issues about this not working, so some people want it. * https://github.com/dart-lang/intl/issues/123 * https://github.com/dart-lang/intl/issues/275 PiperOrigin-RevId: 311079631 PiperOrigin-RevId: 311101503 PiperOrigin-RevId: 311412441
- Loading branch information
1 parent
49a1f81
commit 9e48191
Showing
7 changed files
with
113 additions
and
9 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: intl | ||
version: 0.16.2-dev | ||
version: 0.17.0-dev | ||
author: Dart Team <[email protected]> | ||
homepage: https://github.com/dart-lang/intl | ||
description: >- | ||
|
@@ -11,6 +11,7 @@ environment: | |
sdk: '>=2.5.0 <3.0.0' | ||
|
||
dependencies: | ||
clock: ^1.0.1 | ||
path: '>=0.9.0 <2.0.0' | ||
dev_dependencies: | ||
fixnum: '>=0.9.0 <0.11.0' | ||
|
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