UNPKG

date-fns

Version:

Modern JavaScript date utility library

31 lines (30 loc) 1.13 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 Serbian Latn locale. * @language Serbian * @iso-639-2 srp * @author Nemanja Šćepanović [@nscepanovic]{@link https://github.com/nscepanovic} */ // var locale = { // formatDistance: formatDistance, // formatLong: formatLong, // formatRelative: formatRelative, // localize: localize, // match: match, // formatters: formatters, // formattingTokensRegExp: buildTokensRegExp(formatters), // options: { // weekStartsOn: 1 /* Monday */, // firstWeekContainsDate: 1 // } // } // export default locale throw new Error('sr locale is currently unavailable. Please check the progress of converting this locale to v2.0.0 in this issue on Github: TBA');