node-forecastio icon indicating copy to clipboard operation
node-forecastio copied to clipboard

Accepting Date

Open sepans opened this issue 10 years ago • 1 comments

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.

sepans avatar Oct 26 '15 23:10 sepans

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

soplakanets avatar Oct 29 '15 15:10 soplakanets