You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
2.1 KiB

3 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. (function (global, factory) {
  2. typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
  3. typeof define === 'function' && define.amd ? define(['exports'], factory) :
  4. (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.cat = {}));
  5. }(this, (function (exports) { 'use strict';
  6. var fp = typeof window !== "undefined" && window.flatpickr !== undefined
  7. ? window.flatpickr
  8. : {
  9. l10ns: {},
  10. };
  11. var Catalan = {
  12. weekdays: {
  13. shorthand: ["Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds"],
  14. longhand: [
  15. "Diumenge",
  16. "Dilluns",
  17. "Dimarts",
  18. "Dimecres",
  19. "Dijous",
  20. "Divendres",
  21. "Dissabte",
  22. ],
  23. },
  24. months: {
  25. shorthand: [
  26. "Gen",
  27. "Febr",
  28. "Març",
  29. "Abr",
  30. "Maig",
  31. "Juny",
  32. "Jul",
  33. "Ag",
  34. "Set",
  35. "Oct",
  36. "Nov",
  37. "Des",
  38. ],
  39. longhand: [
  40. "Gener",
  41. "Febrer",
  42. "Març",
  43. "Abril",
  44. "Maig",
  45. "Juny",
  46. "Juliol",
  47. "Agost",
  48. "Setembre",
  49. "Octubre",
  50. "Novembre",
  51. "Desembre",
  52. ],
  53. },
  54. ordinal: function (nth) {
  55. var s = nth % 100;
  56. if (s > 3 && s < 21)
  57. return "è";
  58. switch (s % 10) {
  59. case 1:
  60. return "r";
  61. case 2:
  62. return "n";
  63. case 3:
  64. return "r";
  65. case 4:
  66. return "t";
  67. default:
  68. return "è";
  69. }
  70. },
  71. firstDayOfWeek: 1,
  72. rangeSeparator: " a ",
  73. time_24hr: true,
  74. };
  75. fp.l10ns.cat = fp.l10ns.ca = Catalan;
  76. var cat = fp.l10ns;
  77. exports.Catalan = Catalan;
  78. exports.default = cat;
  79. Object.defineProperty(exports, '__esModule', { value: true });
  80. })));