Skip to content
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

DateUtil.parseW3CDTF does not parse compliant dates #32

Open
darronschall opened this issue Jul 28, 2010 · 2 comments
Open

DateUtil.parseW3CDTF does not parse compliant dates #32

darronschall opened this issue Jul 28, 2010 · 2 comments

Comments

@darronschall
Copy link
Contributor

Originally filed by ja...@appirio.com on 2007-07-31T14:55:04

What steps will reproduce the problem?

  1. DateUtil.parseW3CDTF("2007-07-31");

What is the expected output? What do you see instead?
Expected output should be a properly parsed Date object. Instead an error
is generated with the text "Error: This date does not conform to W3CDTF.".

What version of the product are you using? On what operating system?
as3corelib 0.9, windows vista

Please provide any additional information below.
According to the spec listed in the documentation, there are 6 acceptable
levels for W3CDTF - one being the "YYYY-MM-DD" format. See
http://www.w3.org/TR/NOTE-datetime.

@darronschall
Copy link
Contributor Author

Updated by cucumbrrr on 2008-04-30T00:44:25

I am also experiencing this same issue.

Error: Unable to parse the string [2007-07-31] into a date. The internal error was: Error: This date does not
conform to W3CDTF.

@darronschall
Copy link
Contributor Author

Updated by mikechambers on 2008-07-02T17:52:07

Original ticket set owner to christian.cantrell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant