This repository has been archived by the owner on Jul 31, 2020. It is now read-only.
/
ar-KW.js
195 lines (181 loc) · 7.24 KB
/
ar-KW.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
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
Date.CultureInfo = {
/* Culture Name */
name: "ar-KW",
englishName: "Arabic (Kuwait)",
nativeName: "العربية (الكويت)",
/* Day Name Strings */
dayNames: ["الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت"],
abbreviatedDayNames: ["أحد", "إثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت"],
shortestDayNames: ["حد", "ثن", "ثل", "رع", "خم", "جم", "سب"],
firstLetterDayNames: ["ح", "ن", "ث", "ر", "خ", "ج", "س"],
/* Month Name Strings */
monthNames: ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"],
abbreviatedMonthNames: ["ينا", "فبر", "مار", "أبر", "ماي", "يون", "يول", "أغس", "سبت", "أكت", "نوف", "ديس"],
/* AM/PM Designators */
amDesignator: "ص",
pmDesignator: "م",
firstDayOfWeek: 7,
twoDigitYearMax: 2029,
/**
* The dateElementOrder is based on the order of the
* format specifiers in the formatPatterns.DatePattern.
*
* Example:
<pre>
shortDatePattern dateElementOrder
------------------ ----------------
"M/d/yyyy" "mdy"
"dd/MM/yyyy" "dmy"
"yyyy-MM-dd" "ymd"
</pre>
*
* The correct dateElementOrder is required by the parser to
* determine the expected order of the date elements in the
* string being parsed.
*/
dateElementOrder: "dmy",
/* Standard date and time format patterns */
formatPatterns: {
shortDate: "dd/MM/yy",
longDate: "dd/MMMM/yyyy",
shortTime: "hh:mm tt",
longTime: "hh:mm:ss tt",
fullDateTime: "dd/MMMM/yyyy hh:mm:ss tt",
sortableDateTime: "yyyy-MM-ddTHH:mm:ss",
universalSortableDateTime: "yyyy-MM-dd HH:mm:ssZ",
rfc1123: "ddd, dd MMM yyyy HH:mm:ss GMT",
monthDay: "dd MMMM",
yearMonth: "MMMM, yyyy"
},
/**
* NOTE: If a string format is not parsing correctly, but
* you would expect it parse, the problem likely lies below.
*
* The following regex patterns control most of the string matching
* within the parser.
*
* The Month name and Day name patterns were automatically generated
* and in general should be (mostly) correct.
*
* Beyond the month and day name patterns are natural language strings.
* Example: "next", "today", "months"
*
* These natural language string may NOT be correct for this culture.
* If they are not correct, please translate and edit this file
* providing the correct regular expression pattern.
*
* If you modify this file, please post your revised CultureInfo file
* to the Datejs Forum located at http://www.datejs.com/forums/.
*
* Please mark the subject of the post with [CultureInfo]. Example:
* Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)
*
* We will add the modified patterns to the master source files.
*
* As well, please review the list of "Future Strings" section below.
*/
regexPatterns: {
jan: /^ينا(ير)?/i,
feb: /^فبر(اير)?/i,
mar: /^مار(س)?/i,
apr: /^أبر(يل)?/i,
may: /^ماي(و)?/i,
jun: /^يون(يو)?/i,
jul: /^يول(يو)?/i,
aug: /^أغس(طس)?/i,
sep: /^سبت(مبر)?/i,
oct: /^أكت(وبر)?/i,
nov: /^نوف(مبر)?/i,
dec: /^ديس(مبر)?/i,
sun: /^الأحد|(أ|ا)حد|ح(د)?/i,
mon: /^الإثنين|(إ|ا)ثنين|(ث)?ن/i,
tue: /^الثلاثاء|ث(ل|لاثاء)?/i,
wed: /^الأربعاء|(أ|ا)ربعاء|ر(ع)?/i,
thu: /^الخميس|خ(م|ميس)?/i,
fri: /^الجمعة|ج(م|معة)?/i,
sat: /^السبت|س(ب|بت)?/i,
future: /^القادم/i,
past: /^الماضي/i,
add: /^(\+|بعد|عقب)/i,
subtract: /^(\-|قبل|منذ)/i,
yesterday: /^((ال)?(ا|أ)مس|(ال)?بارح(ة)?)/i,
today: /^اليوم/i,
tomorrow: /^(الغد|غد(ا)?)/i,
now: /^(ال)?آن/i,
millisecond: /^(ال)?ج(زء(ا))?( من( ال(أ|ا)لف من)? |( )?.( )?)(ال)?ث(انية)?(.)?/i,
second: /^(ال)?ث(انية|وان(ي)?)?(.)?/i,
minute: /^(ال)?د(قيقة|قائق)?(.)?/i,
hour: /^(ال)?س(اعة|اعات)?(.)?/i,
week: /^(ال)?(إ|ا)س(بوع|ابيع)/i,
month: /^(ال)?((أ|ا)?شهر|شهور)/i,
day: /(ال)?(يوم|أيام)/i,
year: /^(ال)?سن(ة|ين|ون|وات)/i,
shortMeridian: /^(ص|م)/i,
longMeridian: /^(صباح(ا)?|مساء(ا)?)/i,
timezone: /^(((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc|((ب(ال)?)?توقيت )?(مكة( المكرمة)?|(دولة )?الكويت|العرب(ي)?( القياسي)?|ast|arabia( standard)? tim(e|ing)))/i,
ordinalSuffix: /^\s*(st|nd|rd|th)/i,
timeContext: /^\s*(\:|a(?!u|p)|p)/i
},
timezones: [{name:"UTC", offset:"+000"}, {name:"GMT", offset:"+000"}, {name:"AST", offset:"+0300"}]
};
/********************
** Future Strings **
********************
*
* The following list of strings may not be currently being used, but
* may be incorporated into the Datejs library later.
*
* We would appreciate any help translating the strings below.
*
* If you modify this file, please post your revised CultureInfo file
* to the Datejs Forum located at http://www.datejs.com/forums/.
*
* Please mark the subject of the post with [CultureInfo]. Example:
* Subject: [CultureInfo] Translated "da-DK" Danish(Denmark)b
*
* English Name Translated
* ------------------ -----------------
* about قرابة
* ago مضت
* date التاريخ
* time الوقت
* calendar التقويم
* show اظهار
* hourly كل ساعة
* daily يومياً
* weekly اسبوعياً
* bi-weekly مرتين بالإسبوع
* fortnight اسبوعان
* monthly شهرياً
* bi-monthly مرتين بالشهر
* quarter ربع
* quarterly كل ربع سنة
* yearly سنوياً
* annual سنوي
* annually سنوياً
* annum عام
* again مرة أخرى
* between بين
* after بعد
* from now من الآن
* repeat كرر
* times مرات
* per كل
* min (abbrev minute) د.
* morning صباح
* noon ظهيرة
* night ليل
* midnight نصف الليل
* mid-night نصف الليل
* evening مساء
* final ختامي
* future مستقبل
* spring ربيع
* summer صيف
* fall خريف
* winter شتاء
* end of نهاية
* end نهاية
* long طويل
* short قصير
*/