The fdt_locales_lst
object is a list of all supported locales. This is
useful when used with the fdt()
function as the list can be auto-completed
with a locale identifier and this generates valid input for the locale
argument.
Examples
The fdt_locales_lst
object can be incredibly useful when choosing one of
supported locales. You can avoid typing errors and every element of the list
is meant to work. In this example, we'll use the "da"
locale through
use of the list.
fdt(
input = "2018-07-04 22:05",
format = "yy-MMMM-d",
locale = fdt_locales_lst$da
)