hugoWebsite/node_modules/date-fns/esm/locale/zh-CN/index.js

33 lines
1.0 KiB
JavaScript
Raw Normal View History

2022-10-29 00:20:35 +02:00
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}
* @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;