hugoWebsite/node_modules/date-fns/esm/locale/fr-CA/index.js

34 lines
949 B
JavaScript
Raw Normal View History

2022-10-29 00:20:35 +02:00
// Same as fr
import formatDistance from "../fr/_lib/formatDistance/index.js";
import formatRelative from "../fr/_lib/formatRelative/index.js";
import localize from "../fr/_lib/localize/index.js";
import match from "../fr/_lib/match/index.js";
// Unique for fr-CA
import formatLong from "./_lib/formatLong/index.js";
/**
* @type {Locale}
* @category Locales
* @summary French locale (Canada).
* @language French
* @iso-639-2 fra
* @author Jean Dupouy [@izeau]{@link https://github.com/izeau}
* @author François B [@fbonzon]{@link https://github.com/fbonzon}
* @author Gabriele Petrioli [@gpetrioli]{@link https://github.com/gpetrioli}
*/
var locale = {
code: 'fr-CA',
formatDistance: formatDistance,
formatLong: formatLong,
formatRelative: formatRelative,
localize: localize,
match: match,
// Unique for fr-CA
options: {
weekStartsOn: 0
/* Sunday */
,
firstWeekContainsDate: 1
}
};
export default locale;