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

Issue 24156005: Support "D" for ordinal date in Intl.DateFormat (Closed)

Created:
7 years, 3 months ago by Alan Knight
Modified:
7 years, 2 months ago
Reviewers:
Emily Fortuna
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Support "D" for ordinal date in Intl.DateFormat R=efortuna@google.com Committed: https://code.google.com/p/dart/source/detail?r=27840

Patch Set 1 #

Total comments: 9

Patch Set 2 : Fixes from review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -10 lines) Patch
M pkg/intl/lib/date_format.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/intl/lib/src/date_format_field.dart View 1 3 chunks +29 lines, -0 lines 0 comments Download
M pkg/intl/test/date_time_format_test_core.dart View 1 2 chunks +40 lines, -8 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Alan Knight
dartbug.com/13385
7 years, 3 months ago (2013-09-18 19:39:11 UTC) #1
Emily Fortuna
https://codereview.chromium.org/24156005/diff/1/pkg/intl/lib/src/date_format_field.dart File pkg/intl/lib/src/date_format_field.dart (right): https://codereview.chromium.org/24156005/diff/1/pkg/intl/lib/src/date_format_field.dart#newcode381 pkg/intl/lib/src/date_format_field.dart:381: * underlying calculation, even though it doesn't expose the ...
7 years, 3 months ago (2013-09-23 19:48:27 UTC) #2
Emily Fortuna
lgtm after the edits. sorry for the slow review.
7 years, 3 months ago (2013-09-23 19:48:56 UTC) #3
Alan Knight
Committed patchset #2 manually as r27840 (presubmit successful).
7 years, 3 months ago (2013-09-24 19:13:34 UTC) #4
Alan Knight
7 years, 2 months ago (2013-09-25 17:17:58 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/24156005/diff/1/pkg/intl/lib/src/date_format_...
File pkg/intl/lib/src/date_format_field.dart (right):

https://codereview.chromium.org/24156005/diff/1/pkg/intl/lib/src/date_format_...
pkg/intl/lib/src/date_format_field.dart:381: * underlying calculation, even
though it doesn't expose the test to us. */
On 2013/09/23 19:48:27, Emily Fortuna wrote:
> nit end the */ on its own line

Done.

https://codereview.chromium.org/24156005/diff/1/pkg/intl/test/date_time_forma...
File pkg/intl/test/date_time_format_test_core.dart (right):

https://codereview.chromium.org/24156005/diff/1/pkg/intl/test/date_time_forma...
pkg/intl/test/date_time_format_test_core.dart:373: Map<int, DateTime>
generateDates(int year, int leapDay) =>
On 2013/09/23 19:48:27, Emily Fortuna wrote:
> a little comment here explaining this function would be nice

Done.

https://codereview.chromium.org/24156005/diff/1/pkg/intl/test/date_time_forma...
pkg/intl/test/date_time_format_test_core.dart:374: new Iterable.generate(365 +
leapDay, (n) => n + 1)
On 2013/09/23 19:48:27, Emily Fortuna wrote:
> +2 spaces indent

Done.

https://codereview.chromium.org/24156005/diff/1/pkg/intl/test/date_time_forma...
pkg/intl/test/date_time_format_test_core.dart:381: var formatted =
f.format(date);
On 2013/09/23 19:48:27, Emily Fortuna wrote:
> I think this should just be +2 spaces indentation

Done.

Powered by Google App Engine
This is Rietveld 408576698