-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathspecialDays.ts
111 lines (109 loc) · 2.24 KB
/
specialDays.ts
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
import { SpecialDaysData } from 'services/SpecialDaysService';
const specialDays: SpecialDaysData = {
byYears: [
{
year: 2018,
months: [
// month 1st
{
month: 0,
/** @type {SpecialDays} */
days: [
// day 1st
{
day: 0,
className: '.dayclass',
calendars: {
gregorian: {
availableLangs: 'en,tr,~ar',
text: {
'*': 'Happy New Year',
tr: 'Mutlu Yeni Yillar'
}
}
}
}
] //end of days
}
] //end of months
}
], //end of byYears
byMonths: [
// month 1st
{
month: 10,
/** @type {SpecialDays} */
days: [
{
day: 0,
className: '.dayclass',
calendars: {
gregorian: {
availableLangs: 'en,tr',
text: {
'*': 'in all langs',
tr: 'just in turkish'
}
}
},
length: 2
},
{
day: 6,
calendars: {
'*': {
availableLangs: 'en,tr',
text: {
'*': 'in all langs',
tr: 'just in turkish'
}
}
}
}
] //end of days,
},
// month 4th
{
month: 3,
days: [
{
day: 11,
calendars: {
'*': {
availableLangs: 'en,ar',
text: {
'*': 'in all langs',
ar: 'just in arabic'
}
}
}
}
]
//end of days
},
//end of month 4th
// month 9th
{
month: 9,
days: [
{
day: 1,
calendars: {
'*': {
availableLangs: 'en,ar',
text: {
'*': 'in all langs',
ar: 'just in arabic',
tr: 'Kurban bayrami'
}
}
},
length: 3
}
]
//end of days
}
//end of month 9th
] //end of byMonths
};
export default specialDays;