29 lines
876 B
JavaScript
29 lines
876 B
JavaScript
import { formatDistance } from "./en-US/_lib/formatDistance.mjs";
|
|
import { formatRelative } from "./en-US/_lib/formatRelative.mjs";
|
|
import { localize } from "./en-US/_lib/localize.mjs";
|
|
import { match } from "./en-US/_lib/match.mjs";
|
|
import { formatLong } from "./en-IN/_lib/formatLong.mjs";
|
|
|
|
/**
|
|
* @category Locales
|
|
* @summary English locale (India).
|
|
* @language English
|
|
* @iso-639-2 eng
|
|
* @author Galeel Bhasha Satthar [@gbhasha](https://github.com/gbhasha)
|
|
*/
|
|
export const enIN = {
|
|
code: "en-IN",
|
|
formatDistance: formatDistance,
|
|
formatLong: formatLong,
|
|
formatRelative: formatRelative,
|
|
localize: localize,
|
|
match: match,
|
|
options: {
|
|
weekStartsOn: 1, // Monday is the first day of the week.
|
|
firstWeekContainsDate: 4, // The week that contains Jan 4th is the first week of the year.
|
|
},
|
|
};
|
|
|
|
// Fallback for modularized imports:
|
|
export default enIN;
|