node-forecastio
node-forecastio copied to clipboard
Accepting Date
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.
Hey @sepans Thanks for reporting! PR would be best. Otherwise I will try to implement it somewhere next week. Bit busy atm.