diff options
Diffstat (limited to 'date-fns/src/locale/zh-TW/index.js')
-rw-r--r-- | date-fns/src/locale/zh-TW/index.js | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/date-fns/src/locale/zh-TW/index.js b/date-fns/src/locale/zh-TW/index.js new file mode 100644 index 0000000..bf43c2f --- /dev/null +++ b/date-fns/src/locale/zh-TW/index.js @@ -0,0 +1,30 @@ +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 Traditional locale. + * @language Chinese Traditional + * @iso-639-2 zho + * @author tonypai [@tpai]{@link https://github.com/tpai} + * @author Jack Hsu [@jackhsu978]{@link https://github.com/jackhsu978} + * @author Terrence Lam [@skyuplam]{@link https://github.com/skyuplam} + */ +var locale = { + code: 'zh-TW', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +} + +export default locale |