You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# respects locale supplied, so maybe as a workaround,# gt could set it?withr::with_locale(
c("LC_TIME"="en_CA"),
fdt(
input="2021-01-09 16:32(America/Toronto)",
format=flex_t12_lst$hms,
locale="fr_CA"
)
)
#> [1] "4 h 32 min 00 s p.m."
@olivroy I just re-cloned the package, built from main, ran the code examples and didn't experience any errors. Perhaps this issue was fixed since the CRAN release (could be there is now a default locale set by bigD). Could you install the dev version and try again?
I did a bit more digging to find out that rstudio/gt#1481 is actually a bigD issue. Maybe related to https://bugs.r-project.org/show_bug.cgi?id=18618
Here is a reprex
Created on 2024-07-04 with reprex v2.1.0
Possibly gt should set the option before attempting to do it.
test case can be
The text was updated successfully, but these errors were encountered: