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

Accepting Date #2

Open
sepans opened this issue Oct 26, 2015 · 1 comment
Open

Accepting Date #2

sepans opened this issue Oct 26, 2015 · 1 comment

Comments

@sepans
Copy link

sepans commented Oct 26, 2015

Thanks for the library.
myDate.toISOString().replace(/00.000Z/g, '01Z') works for passing JS Date Object to timeMachine. (By some reason forecast.io doesn't like 00.000Z second format and it took me a good amount of time to figure it out). Happy to submit PR.

@soplakanets
Copy link
Owner

Hey @sepans Thanks for reporting! PR would be best. Otherwise I will try to implement it somewhere next week. Bit busy atm.

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

2 participants