Index: pkg/intl/lib/src/date_format_field.dart |
diff --git a/pkg/intl/lib/src/date_format_field.dart b/pkg/intl/lib/src/date_format_field.dart |
index 7e210a3b3c13e1e5472f0ec695e6218120f1d128..1cf58cc481a729582911a199a2f8733de75495ab 100644 |
--- a/pkg/intl/lib/src/date_format_field.dart |
+++ b/pkg/intl/lib/src/date_format_field.dart |
@@ -345,7 +345,7 @@ class _DateFormatPatternField extends _DateFormatField { |
} |
String formatQuarter(Date date) { |
- var quarter = (date.month / 3).truncate().toInt(); |
+ var quarter = (date.month / 3).truncate(); |
if (width < 4) { |
return symbols.SHORTQUARTERS[quarter]; |
} else { |