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

Issue 17953003: Make UTC times into local times for eroman@ (Closed)

Created:
7 years, 6 months ago by Dan Beam
Modified:
6 years, 9 months ago
Reviewers:
agable, M-A Ruel, eroman
CC:
chromium-reviews, cmp+cc_chromium.org, eroman
Visibility:
Public.

Description

Make UTC times into local times for eroman@ R=maruel@chromium.org BUG=254519

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -2 lines) Patch
A static/js/common/utc-to-local-time.js View 1 1 chunk +42 lines, -0 lines 0 comments Download
M templates/main.html View 1 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Dan Beam
7 years, 6 months ago (2013-06-26 22:29:29 UTC) #1
eroman
Thanks Dan! I'll leave the review to maruel, however this approach feels hacky. Rather than ...
7 years, 6 months ago (2013-06-26 22:39:20 UTC) #2
Dan Beam
On 2013/06/26 22:39:20, eroman wrote: > Thanks Dan! > > I'll leave the review to ...
7 years, 6 months ago (2013-06-26 22:47:23 UTC) #3
cmp
+agable, can you do a review pass?
7 years, 6 months ago (2013-06-26 22:55:53 UTC) #4
Dan Beam
On 2013/06/26 22:55:53, cmp wrote: > +agable, can you do a review pass? it may ...
7 years, 6 months ago (2013-06-26 23:05:12 UTC) #5
agable
As I said in crbug.com/254519, I'd like to take a look at using {{ value|localtime ...
7 years, 5 months ago (2013-07-01 22:34:41 UTC) #6
M-A Ruel
7 years, 5 months ago (2013-07-09 15:59:30 UTC) #7
On 2013/07/01 22:34:41, Aaron Gable wrote:
> As I said in crbug.com/254519, I'd like to take a look at using {{
> value|localtime }} in django to do this, but if we want this now I'm
definitely
> ok with doing it this way. LGTM.

"localtime" is poorly defined in django. The GAE server tries to guess the
user's timezone based on IP but that's likely wrong. The HTTP request never
contains the local time zone of the client.

Powered by Google App Engine
This is Rietveld 408576698