Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1025)

Unified Diff: pkg/intl/test/date_time_format_test.dart

Issue 10916015: Parsing dates with format that's just month or day will fail on certain days (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/intl/test/date_time_format_test.dart
===================================================================
--- pkg/intl/test/date_time_format_test.dart (revision 11626)
+++ pkg/intl/test/date_time_format_test.dart (working copy)
@@ -155,7 +155,10 @@
DateFormat.YEAR,
DateFormat.YEAR_NUM_MONTH,
DateFormat.YEAR_ABBR_MONTH,
- DateFormat.YEAR_MONTH];
+ DateFormat.YEAR_MONTH,
+ DateFormat.MONTH_WEEKDAY_DAY,
+ DateFormat.NUM_MONTH_WEEKDAY_DAY,
+ DateFormat.ABBR_MONTH_WEEKDAY_DAY];
for(int i = 0; i < formatsToTest.length; i++) {
var skeleton = formatsToTest[i];
if (!badSkeletons.some((x) => x == skeleton)) {

Powered by Google App Engine
This is Rietveld 408576698