40 lines
1.0 KiB
JavaScript
40 lines
1.0 KiB
JavaScript
const fp = typeof window !== "undefined" && window.flatpickr !== undefined
|
|
? window.flatpickr
|
|
: {
|
|
l10ns: {},
|
|
};
|
|
export const Arabic = {
|
|
weekdays: {
|
|
shorthand: ["أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت"],
|
|
longhand: [
|
|
"الأحد",
|
|
"الاثنين",
|
|
"الثلاثاء",
|
|
"الأربعاء",
|
|
"الخميس",
|
|
"الجمعة",
|
|
"السبت",
|
|
],
|
|
},
|
|
months: {
|
|
shorthand: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
|
|
longhand: [
|
|
"يناير",
|
|
"فبراير",
|
|
"مارس",
|
|
"أبريل",
|
|
"مايو",
|
|
"يونيو",
|
|
"يوليو",
|
|
"أغسطس",
|
|
"سبتمبر",
|
|
"أكتوبر",
|
|
"نوفمبر",
|
|
"ديسمبر",
|
|
],
|
|
},
|
|
rangeSeparator: " - ",
|
|
};
|
|
fp.l10ns.ar = Arabic;
|
|
export default fp.l10ns;
|