darksky icon indicating copy to clipboard operation
darksky copied to clipboard

Seems like the timezone is off.

Open kun-zhou opened this issue 7 years ago • 1 comments

When I request directly to Darksky with a NYC location using Time Machine request, hourly data starts at 00:00:00 EST on the day I requested, but this package keeps giving me 03:00:00 EDT?

kun-zhou avatar Apr 02 '17 06:04 kun-zhou

@kun-zhou I've not been able to reproduce this behavior. Would you give the full call and system info you're using? Note that if you pass the add_json = TRUE parameter to get_forecast_for you'll get the full JSON as returned from darksky. That may be helpful for debugging.

This package just does a straight as.POSIXct conversion on the timestamps, so double check that your system timezone is as expected.

davidski avatar Jul 04 '17 15:07 davidski