UNPKG

date-fns

Version:

Modern JavaScript date utility library

31 lines (30 loc) 950 B
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 Chinese Simplified locale. * @language Chinese Simplified * @iso-639-2 zho * @author Changyu Geng [@KingMario]{@link https://github.com/KingMario} * @author Song Shuoyun [@fnlctrl]{@link https://github.com/fnlctrl} * @author sabrinaM [@sabrinamiao]{@link https://github.com/sabrinamiao} * @author Carney Wu [@cubicwork]{@link https://github.com/cubicwork} */ var locale = { formatDistance: formatDistance, formatLong: formatLong, formatRelative: formatRelative, localize: localize, match: match, options: { weekStartsOn: 1 /* Monday */ , firstWeekContainsDate: 4 } }; export default locale;