flatpickr.l10n.zh.js 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. /* flatpickr v4.5.2, @license MIT */
  2. (function (global, factory) {
  3. typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
  4. typeof define === 'function' && define.amd ? define(['exports'], factory) :
  5. (factory((global.zh = {})));
  6. }(this, (function (exports) { 'use strict';
  7. var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : {
  8. l10ns: {}
  9. };
  10. var Mandarin = {
  11. weekdays: {
  12. shorthand: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
  13. longhand: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"]
  14. },
  15. months: {
  16. shorthand: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
  17. longhand: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"]
  18. },
  19. rangeSeparator: " 至 ",
  20. weekAbbreviation: "周",
  21. scrollTitle: "滚动切换",
  22. toggleTitle: "点击切换 12/24 小时时制"
  23. };
  24. fp.l10ns.zh = Mandarin;
  25. var zh = fp.l10ns;
  26. exports.Mandarin = Mandarin;
  27. exports.default = zh;
  28. Object.defineProperty(exports, '__esModule', { value: true });
  29. })));