Consider this VTL expression:
cast(cast("2000-" || MOIS_COLLECTE || "-01", date), string, "MMMM")
It currently always returns October but we would like to return the localized name instead (Octobre for a french locale).
Since we are using date-fns for that, it way be as simple as:
Consider this VTL expression:
It currently always returns
Octoberbut we would like to return the localized name instead (Octobrefor a french locale).Since we are using
date-fnsfor that, it way be as simple as:navigator.language?),formathere, by using the properdate-fnsoption.