| Index: runtime/lib/date.dart
|
| diff --git a/runtime/lib/date.dart b/runtime/lib/date.dart
|
| index 6a7e989013e25d0f49b9d11ef9be5d9a8d49cad8..dc69834bd167e91e47acffbcd361336fc2471927 100644
|
| --- a/runtime/lib/date.dart
|
| +++ b/runtime/lib/date.dart
|
| @@ -84,7 +84,7 @@ class DateImplementation implements Date {
|
| int minutes = parseIntOrZero(match[5]);
|
| int seconds = parseIntOrZero(match[6]);
|
| bool addOneMillisecond = false;
|
| - int milliseconds = (parseDoubleOrZero(match[7]) * 1000).round();
|
| + int milliseconds = (parseDoubleOrZero(match[7]) * 1000).round().toInt();
|
| if (milliseconds == 1000) {
|
| addOneMillisecond = true;
|
| milliseconds = 999;
|
|
|