Is there a way to set the language of the dates in the echarts4r calendar to the local time?
This is how to get the Icelandic abbreviated month names but in the echarts4r calendar it's still in English.
Sys.setlocale("LC_TIME", "Icelandic")
format(Sys.time(), '%d %b %Y')
I also tried Sys.setenv(LANGUAGE = "is")
This is the example calendar that I'm working with:
dates <- seq.Date(as.Date("2017-01-01"), as.Date("2018-12-31"), by = "day")
values <- rnorm(length(dates), 20, 6)
year <- data.frame(date = dates, values = values)
year %>%
e_charts(date) %>%
e_calendar(range = "2018") %>%
e_heatmap(values, coord_system = "calendar") %>%
e_visual_map(max = 30) %>%
e_title("Calendar", "Heatmap")