30 lines
810 B
JavaScript
30 lines
810 B
JavaScript
|
import { formatDistance } from "./ca/_lib/formatDistance.js";
|
||
|
import { formatLong } from "./ca/_lib/formatLong.js";
|
||
|
import { formatRelative } from "./ca/_lib/formatRelative.js";
|
||
|
import { localize } from "./ca/_lib/localize.js";
|
||
|
import { match } from "./ca/_lib/match.js";
|
||
|
|
||
|
/**
|
||
|
* @category Locales
|
||
|
* @summary Catalan locale.
|
||
|
* @language Catalan
|
||
|
* @iso-639-2 cat
|
||
|
* @author Guillermo Grau [@guigrpa](https://github.com/guigrpa)
|
||
|
* @author Alex Vizcaino [@avizcaino](https://github.com/avizcaino)
|
||
|
*/
|
||
|
export const ca = {
|
||
|
code: "ca",
|
||
|
formatDistance: formatDistance,
|
||
|
formatLong: formatLong,
|
||
|
formatRelative: formatRelative,
|
||
|
localize: localize,
|
||
|
match: match,
|
||
|
options: {
|
||
|
weekStartsOn: 1 /* Monday */,
|
||
|
firstWeekContainsDate: 4,
|
||
|
},
|
||
|
};
|
||
|
|
||
|
// Fallback for modularized imports:
|
||
|
export default ca;
|