@andkov, tell me if you've had other/better experiences. I was thinking we could use locales and strftime() to avoid the explicit translations of month_01... month_12 in the config file.
> strftime(as.Date("2020-08-01"), "%b")
[1] "Aug"
But it appears that the value passed to Sys.setlocales() is different for different OSes. So at this point, it's probably best to continue spelling out each month for each language.
@andkov, tell me if you've had other/better experiences. I was thinking we could use locales and
strftime()
to avoid the explicit translations ofmonth_01
...month_12
in the config file.But it appears that the value passed to
Sys.setlocales()
is different for different OSes. So at this point, it's probably best to continue spelling out each month for each language.