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

Issue 1533233002: Fix JS seconds since epoch to date conversions. (Closed)

Created:
5 years ago by Lei Zhang
Modified:
5 years ago
Reviewers:
Tom Sepez, Oliver Chang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : more test cases #

Total comments: 2

Patch Set 4 : more test cases #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -51 lines) Patch
M BUILD.gn View 1 chunk +6 lines, -1 line 0 comments Download
M fpdfsdk/src/javascript/JS_Value.cpp View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
A fpdfsdk/src/javascript/public_methods_embeddertest.cpp View 1 2 3 1 chunk +159 lines, -0 lines 0 comments Download
M fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp View 2 chunks +3 lines, -45 lines 0 comments Download
M pdfium.gyp View 1 chunk +3 lines, -0 lines 0 comments Download
M testing/embedder_test.h View 1 chunk +1 line, -1 line 0 comments Download
M testing/embedder_test.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (4 generated)
Lei Zhang
5 years ago (2015-12-20 07:59:23 UTC) #2
Tom Sepez
Hmm. This just changes the initial estimate. Theoretically, we could replace this with a call ...
5 years ago (2015-12-20 17:55:25 UTC) #3
Lei Zhang
On 2015/12/20 17:55:25, Tom Sepez (ooo) wrote: > Hmm. This just changes the initial estimate. ...
5 years ago (2015-12-20 22:03:34 UTC) #4
Lei Zhang
+ochang
5 years ago (2015-12-21 17:14:20 UTC) #7
Tom Sepez
LGTM. Some thoughts: Can we add a pair of tests for the values N and ...
5 years ago (2015-12-21 17:57:54 UTC) #8
Oliver Chang
lgtm https://codereview.chromium.org/1533233002/diff/40001/fpdfsdk/src/javascript/JS_Value.cpp File fpdfsdk/src/javascript/JS_Value.cpp (right): https://codereview.chromium.org/1533233002/diff/40001/fpdfsdk/src/javascript/JS_Value.cpp#newcode672 fpdfsdk/src/javascript/JS_Value.cpp:672: int y = 1970 + (int)(t / (365.2425 ...
5 years ago (2015-12-21 17:59:12 UTC) #9
Lei Zhang
On 2015/12/21 17:57:54, Tom Sepez (ooo) wrote: > LGTM. Some thoughts: > > > Can ...
5 years ago (2015-12-21 18:46:45 UTC) #10
Lei Zhang
https://codereview.chromium.org/1533233002/diff/40001/fpdfsdk/src/javascript/JS_Value.cpp File fpdfsdk/src/javascript/JS_Value.cpp (right): https://codereview.chromium.org/1533233002/diff/40001/fpdfsdk/src/javascript/JS_Value.cpp#newcode672 fpdfsdk/src/javascript/JS_Value.cpp:672: int y = 1970 + (int)(t / (365.2425 * ...
5 years ago (2015-12-21 18:46:51 UTC) #11
Lei Zhang
5 years ago (2015-12-21 18:48:07 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
b426e3edde040089b70d1a223c83b90957aa571d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698