diff options
Diffstat (limited to 'date-fns/src/locale/zh-CN/index.js')
-rw-r--r-- | date-fns/src/locale/zh-CN/index.js | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/date-fns/src/locale/zh-CN/index.js b/date-fns/src/locale/zh-CN/index.js new file mode 100644 index 0000000..0540e58 --- /dev/null +++ b/date-fns/src/locale/zh-CN/index.js @@ -0,0 +1,32 @@ +import formatDistance from './_lib/formatDistance/index' +import formatLong from './_lib/formatLong/index' +import formatRelative from './_lib/formatRelative/index' +import localize from './_lib/localize/index' +import match from './_lib/match/index' + +/** + * @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} + * @author Terrence Lam [@skyuplam]{@link https://github.com/skyuplam} + */ +var locale = { + code: 'zh-CN', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +} + +export default locale |