Skip to content

Improve DateTime.parse #14550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DartBot opened this issue Oct 28, 2013 · 2 comments
Closed

Improve DateTime.parse #14550

DartBot opened this issue Oct 28, 2013 · 2 comments
Labels
closed-duplicate Closed in favor of an existing report

Comments

@DartBot
Copy link

DartBot commented Oct 28, 2013

This issue was originally filed by [email protected]


ISO 8601 allows to define time offsets. Currently the DateTime.parse can't parse a +00 offset.
http://en.wikipedia.org/wiki/ISO_8601#Time_offsets_from_UTC

For example DateTime.parse("2012-02-27T14+00:00") won't be parsed as UTC.

@floitschG
Copy link
Contributor

It's on our TODO list.


Added Duplicate label.
Marked as being merged into #1878.

@DartBot
Copy link
Author

DartBot commented Oct 28, 2013

This comment was originally written by [email protected]


Oh okay, I already submitted a small patch improving DateTime.parse

https://codereview.chromium.org/48823005

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report
Projects
None yet
Development

No branches or pull requests

3 participants