datastorm-open / suncalc

R package for calculating sun/moon positions and phases, linked to suncalc.js
Other
43 stars 10 forks source link

add EDT as a time zone that can be used in suncalc::getSunlightTimes #16

Closed bardolater closed 11 months ago

bardolater commented 1 year ago

Currently, only EST (Eastern Standard time) is a time zone that can be used with the tz= option

Astidac commented 1 year ago

I tried the good old "CET" with no result. After seing this post I also tried "EST" but still doesn't work. Any other suggestion? See code below. Thank you!!

duskdawn = suncalc::getSunlightTimes(lat = o_lat, lon = o_lon, date = Days, keep = c("sunrise", "sunset"), tz = "CET")

Error: CCTZ: Unrecognized output timezone: "Europe/Berlin"

bthieurmel commented 11 months ago

not a suncalc issue, but a R issue / configuration