| Index: sdk/lib/core/date_time.dart
|
| diff --git a/sdk/lib/core/date_time.dart b/sdk/lib/core/date_time.dart
|
| index 2e93ad1206e40994b84586f07463ebc14567624f..5cc9707a88eda48bf771d376c22cfa6b458325cc 100644
|
| --- a/sdk/lib/core/date_time.dart
|
| +++ b/sdk/lib/core/date_time.dart
|
| @@ -282,13 +282,13 @@ class DateTime implements Comparable {
|
| int millisecondsSinceEpoch = _brokenDownDateToMillisecondsSinceEpoch(
|
| years, month, day, hour, minute, second, millisecond, isUtc);
|
| if (millisecondsSinceEpoch == null) {
|
| - throw new FormatException(formattedString);
|
| + throw new FormatException("Time out of range", formattedString);
|
| }
|
| if (addOneMillisecond) millisecondsSinceEpoch++;
|
| return new DateTime.fromMillisecondsSinceEpoch(millisecondsSinceEpoch,
|
| isUtc: isUtc);
|
| } else {
|
| - throw new FormatException(formattedString);
|
| + throw new FormatException("Invalid date format", formattedString);
|
| }
|
| }
|
|
|
|
|