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

Issue 17574002: When using the week-of-year syntax, don't construct an intermediate time value when formatting; use… (Closed)

Created:
7 years, 6 months ago by Stephen White
Modified:
7 years, 6 months ago
Reviewers:
keishi, keishi1
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

When using the week-of-year syntax, don't construct an intermediate time value when formatting; use the calendar directly. Otherwise the default calendar constructed for formatting will use the wrong week-of-year rules. BUG=253231 TBR=keishi Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208155

Patch Set 1 #

Patch Set 2 : Re-enable test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -5 lines) Patch
M content/renderer/date_time_formatter.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/date_time_formatter_unittest.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Stephen White
keishi: PTAL
7 years, 6 months ago (2013-06-23 09:31:14 UTC) #1
keishi
Thanks. lgtm
7 years, 6 months ago (2013-06-23 14:29:02 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/senorblanco@chromium.org/17574002/2001
7 years, 6 months ago (2013-06-23 14:44:02 UTC) #3
commit-bot: I haz the power
7 years, 6 months ago (2013-06-24 06:26:39 UTC) #4
Message was sent while issue was closed.
Change committed as 208155

Powered by Google App Engine
This is Rietveld 408576698