UNPKG

date-fns

Version:

Modern JavaScript date utility library

33 lines (32 loc) 1.25 kB
// import formatDistance from './_lib/formatDistance/index.js' // import formatLong from './_lib/formatLong/index.js' // import formatRelative from './_lib/formatRelative/index.js' // import localize from './_lib/localize/index.js' // import match from './_lib/match/index.js' // import formatters from './_lib/formatters/index.js' // import buildTokensRegExp from '../_lib/buildTokensRegExp/index.js' /** * @type {Locale} * @category Locales * @summary French locale. * @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} */ // var locale = { // formatDistance: formatDistance, // formatLong: formatLong, // formatRelative: formatRelative, // localize: localize, // match: match, // formatters: formatters, // formattingTokensRegExp: buildTokensRegExp(formatters), // options: { // weekStartsOn: 1 /* Monday */, // firstWeekContainsDate: 4 // } // } // export default locale throw new Error('fr-CH locale is currently unavailable. Please check the progress of converting this locale to v2.0.0 in this issue on Github: TBA');