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

Issue 48823005: improve DateTime parsing a UTC timezone offset (Closed)

Created:
7 years, 1 month ago by nikgraf
Modified:
7 years, 1 month ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

improve DateTime parsing a UTC timezone offset BUG= http://dartbug.com/14550 R=floitsch@google.com Committed: https://code.google.com/p/dart/source/detail?r=29615

Patch Set 1 #

Total comments: 1

Patch Set 2 : improved regex to parse Datetime #

Total comments: 2

Patch Set 3 : Address comments. #

Patch Set 4 : Fix regexp. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -4 lines) Patch
M sdk/lib/core/date_time.dart View 1 2 3 3 chunks +23 lines, -4 lines 0 comments Download
M tests/corelib/date_time_parse_test.dart View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
nikgraf
Hey guys, This is a small improvement to allow parsing Strings with a zero offset. ...
7 years, 1 month ago (2013-10-28 22:47:09 UTC) #1
floitsch
LGTM with comments. https://codereview.chromium.org/48823005/diff/1/sdk/lib/core/date_time.dart File sdk/lib/core/date_time.dart (right): https://codereview.chromium.org/48823005/diff/1/sdk/lib/core/date_time.dart#newcode209 sdk/lib/core/date_time.dart:209: r'(?:[ T](\d\d)(?::?(\d\d)(?::?(\d\d)(.\d{1,6})?)?)? ?([zZ]|(\+00(:?00)?)?))?$'); 80 chars. The ...
7 years, 1 month ago (2013-10-28 23:01:24 UTC) #2
nikgraf
On 2013/10/28 23:01:24, floitsch wrote: > LGTM with comments. > > https://codereview.chromium.org/48823005/diff/1/sdk/lib/core/date_time.dart > File sdk/lib/core/date_time.dart ...
7 years, 1 month ago (2013-10-28 23:37:33 UTC) #3
Lasse Reichstein Nielsen
https://codereview.chromium.org/48823005/diff/60001/sdk/lib/core/date_time.dart File sdk/lib/core/date_time.dart (right): https://codereview.chromium.org/48823005/diff/60001/sdk/lib/core/date_time.dart#newcode210 sdk/lib/core/date_time.dart:210: r' ?([zZ]|(?:\+00(?::?00)?)?))?$'); // The timezone part This seemns to ...
7 years, 1 month ago (2013-10-29 08:48:45 UTC) #4
floitsch
https://codereview.chromium.org/48823005/diff/60001/sdk/lib/core/date_time.dart File sdk/lib/core/date_time.dart (right): https://codereview.chromium.org/48823005/diff/60001/sdk/lib/core/date_time.dart#newcode210 sdk/lib/core/date_time.dart:210: r' ?([zZ]|(?:\+00(?::?00)?)?))?$'); // The timezone part On 2013/10/29 08:48:45, ...
7 years, 1 month ago (2013-10-30 23:17:34 UTC) #5
floitsch
7 years, 1 month ago (2013-10-31 00:21:58 UTC) #6
floitsch
Committed patchset #4 manually as r29615 (presubmit successful).
7 years, 1 month ago (2013-10-31 00:53:27 UTC) #7
nikgraf
7 years, 1 month ago (2013-10-31 03:15:22 UTC) #8
Message was sent while issue was closed.
On 2013/10/31 00:53:27, floitsch wrote:
> Committed patchset #4 manually as r29615 (presubmit successful).

Great, thanks guys.

Powered by Google App Engine
This is Rietveld 408576698