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

Date.parse is not compatible with native Date.parse #2482

Closed
dmartensson opened this issue Mar 21, 2013 · 4 comments
Closed

Date.parse is not compatible with native Date.parse #2482

dmartensson opened this issue Mar 21, 2013 · 4 comments

Comments

@dmartensson
Copy link

MooTools Date.parse method returns a Date object while the native Date.parse method returns milliseconds.

This breaks third party code that depends on parse for timestamps, and the cause is hard to find.

https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Date/parse

@arian
Copy link
Member

arian commented Mar 21, 2013

Can you re-create this issue on https://github.com/mootools/mootools-more/issues ?

@arian
Copy link
Member

arian commented Mar 21, 2013

you're right though ;)

@dmartensson
Copy link
Author

Sure.

@timwienk
Copy link
Member

Thank you!

mootools/mootools-more#1189

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

No branches or pull requests

3 participants