Closed arnaud-feldmann closed 1 year ago
You can use the format
arg in the format()
function to have the desired display, but not the input of yearquarter()
.
format(tsibble::yearquarter("2020T4"), format = "%YT%q")
#> [1] "2020T2"
Created on 2022-10-09 with reprex v2.0.2
Yearquarter strings usually depend of locale. That is, in my language (French), the dates would often be in in the "2020T4" format (T for trimestre)
Could it be possible to get a format arg ?