Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

create method to list a users' time zone choices #79

Closed
garrettgman opened this Issue · 3 comments

2 participants

@garrettgman
Collaborator

Since these depend on location, operating systems, who knows what, the user will have to run a function from their current terminal to discover the timezones available to them. See ?Sys.time for details.

Two locations for time zone info mentioned by stackoverflow are
"R_HOME/share/zoneinfo/zone.tab" (R_HOME is the directory R is installed in)
"/R-2.11.1/src/extra/tzone/zoneinfo.zip"

This information may be stored in different places on different operating systems

@garrettgman
Collaborator

R's ?Sys.timezone describes why this is pretty much impossible

@garrettgman garrettgman closed this
@hadley
Owner

Hmm, I don't think that's completely true, since everything basically uses the standard Olsen TZ database. At least a pointer to that would be useful

@garrettgman
Collaborator

I'll place some useful examples of common timezone classes in the tz help page

@garrettgman garrettgman reopened this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.