datastorm-open / suncalc

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

Table code for timezone (tz) #11

Closed brunomioto closed 1 year ago

brunomioto commented 2 years ago

It's hard to know what timezone code the function uses. It would be nice to have a table with the codes available

brunomioto commented 2 years ago

OlsonNames(tzdir = NULL) gives a vector with timezones. Sys.timezone(location = TRUE) gives your own timezone.