summaryrefslogtreecommitdiff
path: root/www/lib/moment/src/locale/ar.js
diff options
context:
space:
mode:
authorPliablePixels <pliablepixels@gmail.com>2015-07-02 10:33:26 -0400
committerPliablePixels <pliablepixels@gmail.com>2015-07-02 10:33:26 -0400
commitf3136eefe9105deb1d97123629dae80c2de66304 (patch)
tree5389bd34d555ab4c3c065292e17cd41576db33ae /www/lib/moment/src/locale/ar.js
parent5e523cf0d1a3644f6a41709b777b08f73ec71d49 (diff)
updated libraries, squashed the problem of not getting bar handles on click, optimized montage view
Diffstat (limited to 'www/lib/moment/src/locale/ar.js')
-rw-r--r--www/lib/moment/src/locale/ar.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/lib/moment/src/locale/ar.js b/www/lib/moment/src/locale/ar.js
index d3a5bfcc..689bc8f6 100644
--- a/www/lib/moment/src/locale/ar.js
+++ b/www/lib/moment/src/locale/ar.js
@@ -70,7 +70,7 @@ export default moment.defineLocale('ar', {
longDateFormat : {
LT : 'HH:mm',
LTS : 'HH:mm:ss',
- L : 'DD/MM/YYYY',
+ L : 'D/\u200FM/\u200FYYYY',
LL : 'D MMMM YYYY',
LLL : 'D MMMM YYYY LT',
LLLL : 'dddd D MMMM YYYY LT'
@@ -110,7 +110,7 @@ export default moment.defineLocale('ar', {
yy : pluralize('y')
},
preparse: function (string) {
- return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
+ return string.replace(/\u200f/g, '').replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
return numberMap[match];
}).replace(/،/g, ',');
},