This repository has been archived by the owner on Mar 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
45 lines (39 loc) · 1.36 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
const startPoint = new Date(622, 6, 18)
const cycleArabic = 30
const additionalDayArabic = [2, 5, 7, 10, 13, 16, 18, 21, 24, 26, 29]
// DECOMENT AND USE BELOW FOR TURKEY CYCLE OF "BIG YEARS"
// const cycleTurkey = 8
// const additionalDayTurkey = [2, 5, 7]
const cycle = cycleArabic
const additionalDay = additionalDayArabic
const monthsNames = [
['محـرّم'],
['صفـر'],
['ربـيع الأول'],
['ربـيع الآخر', 'ربـيع الـثاني'],
['جمادى الأولى'],
['جمادى الآخرة', 'جمادى الـثاني'],
['رجب'],
['شعـبان'],
['رمضان'],
['شوّال'],
['ذو الـقـعـدة'],
['ذو الحجة'],
]
const monthsLength = {
'standart': [30, 29, 30, 30, 29, 30, 29, 29, 30, 30, 29, 29],
// YOU CAN ADD CUSTOM LENGTHS OF YEARS' MONGTH HERE
// ALSO IT CAN BE USED FOR OVERWRITING "BIG YEARS" MISTAKES
'1440': [29, 30, 29, 30, 30, 30, 29, 30, 29, 30, 29, 29],
'1441': [30, 29, 30, 29, 30, 30, 29, 30, 30, 29, 30, 29],
'1442': [29, 30, 29, 30, 29, 30, 29, 30, 30, 29, 30, 29],
'1443': [30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 30],
'1444': [29, 30, 29, 30, 30, 29, 29, 30, 29, 30, 29, 30],
}
export default {
startPoint: startPoint,
cycle: cycle,
additionalDay: additionalDay,
monthsNames: monthsNames,
monthsLength: monthsLength,
}