locale-data
Imported from yugajs/plugin/locale-data.
Variables
Section titled “Variables”localeData
Section titled “localeData”const localeData: yuga.Plugin<undefined>;Day.js’s localeData and updateLocale plugins: the global locale’s data and names
(yuga.localeData(), yuga.months(), yuga.weekdays()…), and yuga.updateLocale. Also
installs yugajs/extension/locale-data, the .localeData() instance method.
import { localeData } from "yugajs/plugin/locale-data";
yuga.plug(localeData);yuga.weekdays(true); // ["Sunday", …] (starting on the locale's first day)