vignette("locales")
for more details.locale(date_names = "en", date_format = "%AD", time_format = "%AT",
decimal_mark = ".", grouping_mark = ",", tz = "UTC",
encoding = "UTF-8", asciify = FALSE)default_locale()
date_names_lang()
)
or an object created by date_names()
.,
or
.
.Use ""
to use the system default time zone, but beware that this
will not be reproducible across systems.
For a complete list of possible time zones, see OlsonNames()
.
Americans, note that "EST" is a Canadian time zone that does not have
DST. It is not Eastern Standard Time. It's better to use
"US/Eastern", "US/Central" etc.
locale()
locale("fr")
# South American locale
locale("es", decimal_mark = ",")
Run the code above in your browser using DataLab