diff options
Diffstat (limited to 'date-fns/src/locale/en-IN/index.js')
-rw-r--r-- | date-fns/src/locale/en-IN/index.js | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/date-fns/src/locale/en-IN/index.js b/date-fns/src/locale/en-IN/index.js new file mode 100644 index 0000000..6ddfbcf --- /dev/null +++ b/date-fns/src/locale/en-IN/index.js @@ -0,0 +1,28 @@ +import formatDistance from '../en-US/_lib/formatDistance/index' +import formatLong from './_lib/formatLong/index' +import formatRelative from '../en-US/_lib/formatRelative/index' +import localize from '../en-US/_lib/localize/index' +import match from '../en-US/_lib/match/index' + +/** + * @type {Locale} + * @category Locales + * @summary English locale (India). + * @language English + * @iso-639-2 eng + * @author Galeel Bhasha Satthar [@gbhasha]{@link https://github.com/gbhasha} + */ +var locale = { + 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. + } +} + +export default locale |