rlalfo / google-http-java-client

Automatically exported from code.google.com/p/google-http-java-client
0 stars 0 forks source link

DateTime parsing errors #243

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Restricted milliseconds to 3 digits which wasn't consistent with RFC3339 
standards, e.g. "1937-01-01T12:00:27.87+00:20" was not parsed as it should have 
been.
2. Wasn't strict enough with formatting:
A. Negative values allowed, e.g. "1937--3-55T12:00:27+00:20" was parsed with a 
month value of -3.
B. Didn't throw exceptions when it could parse a portion but not all of the 
user's input, e.g. "2013-01-01 09:00:02" was parsed as "2013-01-01" (date only).

Original issue reported on code.google.com by mnru...@google.com on 23 Aug 2013 at 9:33

GoogleCodeExporter commented 9 years ago
https://codereview.appspot.com/13080044/#ps3001

Original comment by mnru...@google.com on 23 Aug 2013 at 9:34

GoogleCodeExporter commented 9 years ago

Original comment by ngmic...@google.com on 3 Sep 2013 at 8:00

GoogleCodeExporter commented 9 years ago

Original comment by mnru...@google.com on 4 Sep 2013 at 9:18

GoogleCodeExporter commented 9 years ago

Original comment by mnru...@google.com on 4 Sep 2013 at 9:25

GoogleCodeExporter commented 9 years ago

Original comment by mnru...@google.com on 4 Sep 2013 at 9:28