| Index: sdk/lib/core/date.dart
|
| diff --git a/sdk/lib/core/date.dart b/sdk/lib/core/date.dart
|
| index 7ab46cf07baed8de1341cfc2f0b0a5ae6b92cd8c..bb62735da5589c872c0fb529b9a798013e946ac1 100644
|
| --- a/sdk/lib/core/date.dart
|
| +++ b/sdk/lib/core/date.dart
|
| @@ -257,7 +257,7 @@ class _DateImpl implements Date {
|
| // - "20120227"
|
| // - "2012-02-27T14Z"
|
| // - "-123450101 00:00:00 Z" // In the year -12345.
|
| - final RegExp re = const RegExp(
|
| + final RegExp re = new RegExp(
|
| r'^([+-]?\d?\d\d\d\d)-?(\d\d)-?(\d\d)' // The day part.
|
| r'(?:[ T](\d\d)(?::?(\d\d)(?::?(\d\d)(.\d{1,6})?)?)? ?([zZ])?)?$');
|
| Match match = re.firstMatch(formattedString);
|
|
|