darksky
darksky copied to clipboard
Seems like the timezone is off.
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 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.