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

34 lines
990 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 localize from "../fr/_lib/localize/index.js";
import match from "../fr/_lib/match/index.js";
// Unique for fr-CH
import formatLong from "./_lib/formatLong/index.js";
import formatRelative from "./_lib/formatRelative/index.js";
/**
* @type {Locale}
* @category Locales
* @summary French locale (Switzerland).
* @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 Van Vuong Ngo [@vanvuongngo]{@link https://github.com/vanvuongngo}
* @author Alex Hoeing [@dcbn]{@link https://github.com/dcbn}
*/
var locale = {
code: 'fr-CH',
formatDistance: formatDistance,
formatLong: formatLong,
formatRelative: formatRelative,
localize: localize,
match: match,
options: {
weekStartsOn: 1
/* Monday */
,
firstWeekContainsDate: 4
}
};
export default locale;