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

Issue 10411057: Deprecate use of timezones. (Closed)

Created:
8 years, 7 months ago by floitsch
Modified:
8 years, 6 months ago
CC:
reviews_dartlang.org, Mads Ager (google), jjb, sorinmocanu, cshapiro, kasperl
Visibility:
Public.

Description

Deprecate use of timezones. Committed: https://code.google.com/p/dart/source/detail?r=7911

Patch Set 1 #

Total comments: 34

Patch Set 2 : Address comments. #

Patch Set 3 : Missed comment. #

Patch Set 4 : rebase #

Patch Set 5 : Fix code using old api. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+325 lines, -259 lines) Patch
M corelib/src/date.dart View 1 5 chunks +45 lines, -29 lines 0 comments Download
M corelib/src/time_zone.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M frog/lib/date_implementation.dart View 1 2 3 6 chunks +24 lines, -16 lines 0 comments Download
M lib/compiler/implementation/lib/js_helper.dart View 1 2 3 1 chunk +8 lines, -8 lines 0 comments Download
M lib/compiler/implementation/lib/mockimpl.dart View 1 7 chunks +37 lines, -37 lines 0 comments Download
M runtime/bin/http_impl.dart View 1 2 3 2 chunks +2 lines, -4 lines 0 comments Download
M runtime/bin/http_utils.dart View 2 chunks +3 lines, -4 lines 0 comments Download
M runtime/lib/date.dart View 1 11 chunks +51 lines, -51 lines 0 comments Download
M samples/swarm/DataSource.dart View 1 chunk +1 line, -1 line 0 comments Download
M samples/total/client/DateTimeUtils.dart View 1 chunk +1 line, -1 line 0 comments Download
M samples/total/client/SpreadsheetPresenter.dart View 1 2 3 4 1 chunk +1 line, -3 lines 0 comments Download
M samples/ui_lib/util/DateUtils.dart View 4 chunks +7 lines, -10 lines 0 comments Download
M tests/co19/co19-leg.status View 2 chunks +34 lines, -2 lines 1 comment Download
M tests/co19/co19-runtime.status View 1 2 3 1 chunk +35 lines, -0 lines 0 comments Download
M tests/corelib/core_runtime_types_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/corelib/date_time6_test.dart View 2 chunks +4 lines, -4 lines 0 comments Download
M tests/corelib/date_time_test.dart View 27 chunks +56 lines, -62 lines 0 comments Download
M tests/language/issue4157508_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/http_date_test.dart View 2 chunks +4 lines, -7 lines 0 comments Download
M tests/standalone/io/http_headers_test.dart View 1 2 3 4 2 chunks +4 lines, -8 lines 0 comments Download
M tests/standalone/io/http_test.dart View 1 2 3 3 chunks +4 lines, -10 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
floitsch
This is a breaking change because fromEpoch now takes a different type for its argument. ...
8 years, 7 months ago (2012-05-21 20:43:34 UTC) #1
ngeoffray
LGTM, please make sure to get another LGTM from the VM team before submitting. https://chromiumcodereview.appspot.com/10411057/diff/1/corelib/src/date.dart ...
8 years, 7 months ago (2012-05-22 08:58:45 UTC) #2
Mads Ager (google)
LGTM with a couple of minor comments. I only looked at the three files in ...
8 years, 7 months ago (2012-05-22 09:11:21 UTC) #3
floitsch
thanks for the reviews. https://chromiumcodereview.appspot.com/10411057/diff/1/corelib/src/date.dart File corelib/src/date.dart (right): https://chromiumcodereview.appspot.com/10411057/diff/1/corelib/src/date.dart#newcode81 corelib/src/date.dart:81: * the given [timeZone]. On ...
8 years, 7 months ago (2012-05-22 14:50:38 UTC) #4
floitsch
Found two more cases using the old API.
8 years, 7 months ago (2012-05-23 16:00:39 UTC) #5
ahe
patchset 5: LGTM!
8 years, 7 months ago (2012-05-23 16:02:08 UTC) #6
ahe
8 years, 6 months ago (2012-06-07 10:11:02 UTC) #7
Just to let you know if a similar situation arises in the future.

https://chromiumcodereview.appspot.com/10411057/diff/10005/tests/co19/co19-le...
File tests/co19/co19-leg.status (right):

https://chromiumcodereview.appspot.com/10411057/diff/10005/tests/co19/co19-le...
tests/co19/co19-leg.status:38: LibTest/core/Date/changeTimeZone_A01_t01: Skip
Please don't use skip. Also, please use "fail, pass" for tests that are failing
due to a bug in the test suite.

When you use skip, we don't detect crashes. Skip should only be used for
timeouts.

Powered by Google App Engine
This is Rietveld 408576698