hugoWebsite/node_modules/date-fns/esm/locale/ca/index.js

30 lines
951 B
JavaScript

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";
/**
* @type {Locale}
* @category Locales
* @summary Catalan locale.
* @language Catalan
* @iso-639-2 cat
* @author Guillermo Grau [@guigrpa]{@link https://github.com/guigrpa}
* @author Alex Vizcaino [@avizcaino]{@link https://github.com/avizcaino}
*/
var locale = {
code: 'ca',
formatDistance: formatDistance,
formatLong: formatLong,
formatRelative: formatRelative,
localize: localize,
match: match,
options: {
weekStartsOn: 1
/* Monday */
,
firstWeekContainsDate: 4
}
};
export default locale; // throw new Error('ca locale is currently unavailable. Please check the progress of converting this locale to v2.0.0 in this issue on Github: TBA')