momentjs-rails 2.20.1 → 2.29.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/news.md +3 -0
- data/test/dummy/app/assets/config/manifest.js +1 -0
- data/test/dummy/config/environments/development.rb +2 -0
- data/test/dummy/config/environments/production.rb +1 -0
- data/test/dummy/config/environments/test.rb +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/-H/-H77gbOgi-dwHJoevs2PsAJBV-nde7DFDWBPXqUrMkw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/-y/-ypqz4WBYM3Qftk20RenhtH0iPKxdtyu6t3hVOjJLL4.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/1l/1l4oJ9T6GJ0pN-vGrH1QH9XT7AVF3Z9pakdHrxcsuXw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/3T/3TjWGZFWBLAEGSW7kQIDJIL6_MukMwz_wLDMwgYsN1E.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/3e/3eGeoVsqjktkiAfNQ4zBuxtb0rtVWyQsKgjho5OHYnY.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/9C/9Cy8L_tqI8SvH-pVigMqBlPTus4vnZvt3YE2y8--beE.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/9z/9zOsSzS7x1TCGFnvxdjQdrEL2MENRZARP2fzL5JYLF0.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/AP/AP7JoF1ZWY1lf5txW64EpzKJEzOIsR9Wkn_V0pl6Kzo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Bu/BuxnmLYpqxwN3qck74Nh3Adaqz5VwdArL7wCZx6TnII.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/JO/JO9QyaKhLUs4VF1ODPXLiqcSziQS4x3sudms-3GYjww.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Mn/MnWwrzXFar6jFGAfp8PS_cZXjeFYCA85xsTQT758958.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/OM/OM7fRuvTUPQcZERsO6Tsv0fvTdZqsRZbN-mYK00TwnI.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Pn/PnNlsrskw8SKHpOLkqJgEN_HjZzB2jsQZauj-dnQQ2A.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Rf/RfFWq_tyttbS2wyfSc0kKvcSxUeC_m01sL3Dl6EWEqM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ru/RuQ9HENefRmSoZaLfw7LalsxdBHpKJMyc2c3OQ_kQr8.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/T-/T-9_ffpUxh6GAYTAzM3sF5lykyt9GVpcbKZaRXxw0wA.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Zj/Zjn9OiwGREdMXvLZA-tY289lQslnn7R3BrSwhsntMWQ.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Zm/Zmp1hSfJjOVQBTRXZ-xSs8qqIK6lmyQ4GK_uYVsDVJc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/bR/bRSmDUPNI--mMuAgRHWf1r56iydNwHRg_wniS8HqhNg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/dA/dAAcqCClwz0OKgpbEd9G3OUYKW1TeNqJV49Zxh2bQ5A.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/dh/dhlLaVScr1-Ty5UFcg6xdU4xSWIuySWzjcC5OU2mOf4.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/gt/gtu4KqwPpmom4hwtRz9x180bzJzATR6V8hyE3uHsyas.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/kl/klJHIoyRhrimisvwpjAPKxae89riL_0exIgpv4u3u5Y.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/m1/m16f5eEXdsOfzbCB88BS3eojIypOTYQjyyv5kkTDwxY.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/mm/mmqv3-gEoPWhMrVamMnpI1csCNLKpv-qVQgHERXQNaU.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/rp/rpqm2QeVJPWIySovDg4XdCnI6X5_FXCd0pZhuOnwAfk.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wx/wxFkskdA6iSIVZxka368Y8wkP-3edr2nlW4VSOI6GhY.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/xP/xPbdGyTHlpGRgIS0gbG9suCByeakXeTFaQ1B_h3_aUI.cache +0 -0
- data/test/integration/navigation_test.rb +1 -1
- data/vendor/assets/javascripts/moment/af.js +51 -54
- data/vendor/assets/javascripts/moment/ar-dz.js +150 -54
- data/vendor/assets/javascripts/moment/ar-kw.js +40 -46
- data/vendor/assets/javascripts/moment/ar-ly.js +141 -97
- data/vendor/assets/javascripts/moment/ar-ma.js +40 -46
- data/vendor/assets/javascripts/moment/ar-sa.js +75 -77
- data/vendor/assets/javascripts/moment/ar-tn.js +15 -21
- data/vendor/assets/javascripts/moment/ar.js +158 -112
- data/vendor/assets/javascripts/moment/az.js +52 -57
- data/vendor/assets/javascripts/moment/be.js +69 -63
- data/vendor/assets/javascripts/moment/bg.js +49 -53
- data/vendor/assets/javascripts/moment/bm.js +43 -51
- data/vendor/assets/javascripts/moment/bn-bd.js +128 -0
- data/vendor/assets/javascripts/moment/bn.js +76 -78
- data/vendor/assets/javascripts/moment/bo.js +80 -78
- data/vendor/assets/javascripts/moment/br.js +115 -59
- data/vendor/assets/javascripts/moment/bs.js +48 -52
- data/vendor/assets/javascripts/moment/ca.js +76 -68
- data/vendor/assets/javascripts/moment/cs.js +80 -89
- data/vendor/assets/javascripts/moment/cv.js +45 -47
- data/vendor/assets/javascripts/moment/cy.js +41 -26
- data/vendor/assets/javascripts/moment/da.js +43 -51
- data/vendor/assets/javascripts/moment/de-at.js +53 -54
- data/vendor/assets/javascripts/moment/de-ch.js +54 -55
- data/vendor/assets/javascripts/moment/de.js +53 -54
- data/vendor/assets/javascripts/moment/dv.js +64 -75
- data/vendor/assets/javascripts/moment/el.js +63 -60
- data/vendor/assets/javascripts/moment/en-au.js +55 -55
- data/vendor/assets/javascripts/moment/en-ca.js +52 -52
- data/vendor/assets/javascripts/moment/en-gb.js +55 -55
- data/vendor/assets/javascripts/moment/en-ie.js +55 -55
- data/vendor/assets/javascripts/moment/en-il.js +64 -0
- data/vendor/assets/javascripts/moment/en-in.js +68 -0
- data/vendor/assets/javascripts/moment/en-nz.js +55 -55
- data/vendor/assets/javascripts/moment/en-sg.js +68 -0
- data/vendor/assets/javascripts/moment/eo.js +46 -52
- data/vendor/assets/javascripts/moment/es-do.js +75 -63
- data/vendor/assets/javascripts/moment/es-mx.js +106 -0
- data/vendor/assets/javascripts/moment/es-us.js +83 -61
- data/vendor/assets/javascripts/moment/es.js +83 -70
- data/vendor/assets/javascripts/moment/et.js +58 -62
- data/vendor/assets/javascripts/moment/eu.js +53 -57
- data/vendor/assets/javascripts/moment/fa.js +84 -82
- data/vendor/assets/javascripts/moment/fi.js +72 -61
- data/vendor/assets/javascripts/moment/fil.js +58 -0
- data/vendor/assets/javascripts/moment/fo.js +46 -51
- data/vendor/assets/javascripts/moment/fr-ca.js +44 -50
- data/vendor/assets/javascripts/moment/fr-ch.js +47 -53
- data/vendor/assets/javascripts/moment/fr.js +72 -52
- data/vendor/assets/javascripts/moment/fy.js +52 -51
- data/vendor/assets/javascripts/moment/ga.js +95 -0
- data/vendor/assets/javascripts/moment/gd.js +81 -63
- data/vendor/assets/javascripts/moment/gl.js +54 -58
- data/vendor/assets/javascripts/moment/gom-deva.js +124 -0
- data/vendor/assets/javascripts/moment/gom-latn.js +70 -70
- data/vendor/assets/javascripts/moment/gu.js +30 -34
- data/vendor/assets/javascripts/moment/he.js +48 -54
- data/vendor/assets/javascripts/moment/hi.js +115 -76
- data/vendor/assets/javascripts/moment/hr.js +54 -55
- data/vendor/assets/javascripts/moment/hu.js +63 -56
- data/vendor/assets/javascripts/moment/hy-am.js +44 -48
- data/vendor/assets/javascripts/moment/id.js +44 -52
- data/vendor/assets/javascripts/moment/is.js +61 -55
- data/vendor/assets/javascripts/moment/it-ch.js +64 -0
- data/vendor/assets/javascripts/moment/it.js +89 -54
- data/vendor/assets/javascripts/moment/ja.js +122 -55
- data/vendor/assets/javascripts/moment/jv.js +44 -52
- data/vendor/assets/javascripts/moment/ka.js +68 -66
- data/vendor/assets/javascripts/moment/kk.js +46 -52
- data/vendor/assets/javascripts/moment/km.js +64 -21
- data/vendor/assets/javascripts/moment/kn.js +72 -76
- data/vendor/assets/javascripts/moment/ko.js +48 -56
- data/vendor/assets/javascripts/moment/ku.js +118 -0
- data/vendor/assets/javascripts/moment/ky.js +48 -53
- data/vendor/assets/javascripts/moment/lb.js +39 -42
- data/vendor/assets/javascripts/moment/lo.js +44 -50
- data/vendor/assets/javascripts/moment/lt.js +79 -75
- data/vendor/assets/javascripts/moment/lv.js +57 -63
- data/vendor/assets/javascripts/moment/me.js +53 -48
- data/vendor/assets/javascripts/moment/mi.js +15 -21
- data/vendor/assets/javascripts/moment/mk.js +46 -52
- data/vendor/assets/javascripts/moment/ml.js +51 -53
- data/vendor/assets/javascripts/moment/mn.js +99 -0
- data/vendor/assets/javascripts/moment/mr.js +140 -100
- data/vendor/assets/javascripts/moment/ms-my.js +43 -51
- data/vendor/assets/javascripts/moment/ms.js +43 -51
- data/vendor/assets/javascripts/moment/mt.js +45 -51
- data/vendor/assets/javascripts/moment/my.js +37 -43
- data/vendor/assets/javascripts/moment/nb.js +45 -48
- data/vendor/assets/javascripts/moment/ne.js +73 -77
- data/vendor/assets/javascripts/moment/nl-be.js +70 -57
- data/vendor/assets/javascripts/moment/nl.js +72 -57
- data/vendor/assets/javascripts/moment/nn.js +46 -47
- data/vendor/assets/javascripts/moment/oc-lnc.js +83 -0
- data/vendor/assets/javascripts/moment/pa-in.js +72 -76
- data/vendor/assets/javascripts/moment/pl.js +67 -55
- data/vendor/assets/javascripts/moment/pt-br.js +41 -46
- data/vendor/assets/javascripts/moment/pt.js +46 -50
- data/vendor/assets/javascripts/moment/ro.js +49 -51
- data/vendor/assets/javascripts/moment/ru.js +104 -83
- data/vendor/assets/javascripts/moment/sd.js +56 -74
- data/vendor/assets/javascripts/moment/se.js +41 -46
- data/vendor/assets/javascripts/moment/si.js +48 -52
- data/vendor/assets/javascripts/moment/sk.js +52 -66
- data/vendor/assets/javascripts/moment/sl.js +50 -54
- data/vendor/assets/javascripts/moment/sq.js +47 -53
- data/vendor/assets/javascripts/moment/sr-cyrl.js +53 -49
- data/vendor/assets/javascripts/moment/sr.js +56 -50
- data/vendor/assets/javascripts/moment/ss.js +48 -55
- data/vendor/assets/javascripts/moment/sv.js +51 -53
- data/vendor/assets/javascripts/moment/sw.js +45 -51
- data/vendor/assets/javascripts/moment/ta.js +75 -77
- data/vendor/assets/javascripts/moment/te.js +51 -55
- data/vendor/assets/javascripts/moment/tet.js +49 -50
- data/vendor/assets/javascripts/moment/tg.js +116 -0
- data/vendor/assets/javascripts/moment/th.js +45 -49
- data/vendor/assets/javascripts/moment/tk.js +91 -0
- data/vendor/assets/javascripts/moment/tl-ph.js +40 -46
- data/vendor/assets/javascripts/moment/tlh.js +69 -67
- data/vendor/assets/javascripts/moment/tr.js +91 -76
- data/vendor/assets/javascripts/moment/tzl.js +65 -69
- data/vendor/assets/javascripts/moment/tzm-latn.js +39 -45
- data/vendor/assets/javascripts/moment/tzm.js +38 -44
- data/vendor/assets/javascripts/moment/ug-cn.js +110 -0
- data/vendor/assets/javascripts/moment/uk.js +78 -68
- data/vendor/assets/javascripts/moment/ur.js +56 -74
- data/vendor/assets/javascripts/moment/uz-latn.js +44 -50
- data/vendor/assets/javascripts/moment/uz.js +42 -50
- data/vendor/assets/javascripts/moment/vi.js +54 -55
- data/vendor/assets/javascripts/moment/x-pseudo.js +58 -56
- data/vendor/assets/javascripts/moment/yo.js +44 -52
- data/vendor/assets/javascripts/moment/zh-cn.js +66 -58
- data/vendor/assets/javascripts/moment/zh-hk.js +58 -63
- data/vendor/assets/javascripts/moment/zh-mo.js +100 -0
- data/vendor/assets/javascripts/moment/zh-tw.js +55 -61
- data/vendor/assets/javascripts/moment.js +2673 -1546
- metadata +92 -31
- data/test/dummy/tmp/cache/assets/D1C/680/sprockets%2F16ed4d5afdb2919596e6f8790e2116c2 +0 -0
- data/test/dummy/tmp/cache/assets/D35/CA0/sprockets%2F493e64bce2d302801dc01cf7cd096a58 +0 -0
- data/test/dummy/tmp/cache/assets/D3F/5F0/sprockets%2F4a6c53eae7c6e41a69a191578bbb6417 +0 -0
- data/test/dummy/tmp/cache/assets/D58/BD0/sprockets%2F4de9ddc9b725c715a54c98697b2528fe +0 -0
- data/test/dummy/tmp/cache/assets/D75/510/sprockets%2Fe690787ac522f47a6be024bfcc1767ee +0 -0
- data/test/dummy/tmp/cache/assets/E10/250/sprockets%2Fe4badb9ddfda484eb9671bf88567be61 +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8411ba93987add259a9b282ba8d0defa6af93dc5c6fcbbbf4739372aa3d15b66
|
4
|
+
data.tar.gz: 3b0b6296dc29660a8c2163f9487f0397ac86418e12a41e28233d71362cfc8716
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c1581948e9a6a5fe3ea10b54d23045cd5fd7b1d176efadedb39ccf0ce00bb21de837d679bf0d5232589ed613c64c8f5106edd193cd8a6a40b20c5d62929a55d
|
7
|
+
data.tar.gz: 16ad62e0215cf390a2aed5720ff6c88534748210623343039e0749524b6af213c72377e3d89643e9d22564bb9afb204129c1bda1f6a372a18c24ed96cbe48ef0
|
data/README.md
CHANGED
@@ -26,7 +26,7 @@ If you want to include a localization file, also add the following directive:
|
|
26
26
|
|
27
27
|
## Versioning
|
28
28
|
|
29
|
-
momentjs-rails 2.
|
29
|
+
momentjs-rails 2.29.1 == Moment.js 2.29.1
|
30
30
|
|
31
31
|
Every attempt is made to mirror the currently shipping Moment.js version number
|
32
32
|
wherever possible. The major, minor, and patch version numbers will always
|
data/news.md
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
//= link_directory ../javascripts .js
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/derek/src/derekprior/momentjs-rails/vendor/assets/javascripts/moment/fr.js?type=application/javascript&id=541fc56d8d67b66f4da55fded16dc66bbde3edbd912e32094e0c9a759cbb63f7:ET
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/derek/src/derekprior/momentjs-rails/vendor/assets/javascripts/moment/fr.js?type=application/javascript&id=61611ca93abe98cc58154328ff2929409fa1fad1f7fa6c227bb7d15973ed4a4b:ET
|
@@ -0,0 +1 @@
|
|
1
|
+
"%�X�������A�� ��B̠�y�[��[�:Q�V
|
@@ -0,0 +1,2 @@
|
|
1
|
+
[o:Set:
|
2
|
+
@hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"afile-digest:///Users/derek/src/derekprior/momentjs-rails/vendor/assets/javascripts/moment.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTF
|
@@ -0,0 +1,2 @@
|
|
1
|
+
[o:Set:
|
2
|
+
@hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"dfile-digest:///Users/derek/src/derekprior/momentjs-rails/vendor/assets/javascripts/moment/fr.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTF
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/derek/src/derekprior/momentjs-rails/vendor/assets/javascripts/moment.js?type=application/javascript&pipeline=self&id=0c6937b111fbea3c47aeb85dd2814e8d81e613f388ae3298b41fdf7d9072cc24:ET
|
@@ -0,0 +1 @@
|
|
1
|
+
"%�}��$�ʹ���$���R�L�]��P�\
|
Binary file
|
@@ -0,0 +1,2 @@
|
|
1
|
+
[o:Set:
|
2
|
+
@hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"dfile-digest:///Users/derek/src/derekprior/momentjs-rails/vendor/assets/javascripts/moment/fr.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTF
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/derek/src/derekprior/momentjs-rails/vendor/assets/javascripts/moment/fr.js?type=application/javascript&pipeline=self&id=50ba7790f3b9741a7088a98cdce0311bece00a28bb8635f09ee2684da20be24c:ET
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/derek/src/derekprior/momentjs-rails/vendor/assets/javascripts/moment.js?type=application/javascript&id=5d67b091a9739c21be5f2ddb490013384f080674da58415dca410f77ecc495f1:ET
|
Binary file
|
Binary file
|
@@ -0,0 +1,2 @@
|
|
1
|
+
[o:Set:
|
2
|
+
@hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"afile-digest:///Users/derek/src/derekprior/momentjs-rails/vendor/assets/javascripts/moment.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTF
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/derek/src/derekprior/momentjs-rails/vendor/assets/javascripts/moment.js?type=application/javascript&pipeline=self&id=01c54155b49fae448a39c452f8bfc77dd65cb7491ca760680970790c7fdbef3e:ET
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
"%sji�*:��y�k\t\�Fe�3�e��RD�Cԁ��
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/derek/src/derekprior/momentjs-rails/vendor/assets/javascripts/moment/fr.js?type=application/javascript&pipeline=self&id=ccd1fcf853a6aba23eb63b7657a86a475c3a3df0bb6edd25f9542f149b96ba6b:ET
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/derek/src/derekprior/momentjs-rails/vendor/assets/javascripts/moment.js?type=application/javascript&id=7f476f40a6965cc0d5cbc94bb8ee880540a1a5b7f3df5c9b3beb2c53ae2c934d:ET
|
Binary file
|
@@ -8,7 +8,7 @@ class NavigationTest < ActionDispatch::IntegrationTest
|
|
8
8
|
|
9
9
|
test 'momentjs response is for the expected version' do
|
10
10
|
get '/assets/moment.js'
|
11
|
-
assert_match(/hooks.version = '2\.
|
11
|
+
assert_match(/hooks.version = '2\.29\.1'/, @response.body)
|
12
12
|
end
|
13
13
|
|
14
14
|
test 'can access momentjs translation' do
|
@@ -2,73 +2,70 @@
|
|
2
2
|
//! locale : Afrikaans [af]
|
3
3
|
//! author : Werner Mollentze : https://github.com/wernerm
|
4
4
|
|
5
|
-
|
6
|
-
typeof exports === 'object' && typeof module !== 'undefined'
|
7
|
-
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
-
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
|
-
factory(global.moment)
|
10
|
-
}(this, (function (moment) { 'use strict';
|
5
|
+
import moment from '../moment';
|
11
6
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
7
|
+
export default moment.defineLocale('af', {
|
8
|
+
months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split(
|
9
|
+
'_'
|
10
|
+
),
|
11
|
+
monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),
|
12
|
+
weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split(
|
13
|
+
'_'
|
14
|
+
),
|
15
|
+
weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),
|
16
|
+
weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),
|
19
17
|
meridiemParse: /vm|nm/i,
|
20
|
-
isPM
|
18
|
+
isPM: function (input) {
|
21
19
|
return /^nm$/i.test(input);
|
22
20
|
},
|
23
|
-
meridiem
|
21
|
+
meridiem: function (hours, minutes, isLower) {
|
24
22
|
if (hours < 12) {
|
25
23
|
return isLower ? 'vm' : 'VM';
|
26
24
|
} else {
|
27
25
|
return isLower ? 'nm' : 'NM';
|
28
26
|
}
|
29
27
|
},
|
30
|
-
longDateFormat
|
31
|
-
LT
|
32
|
-
LTS
|
33
|
-
L
|
34
|
-
LL
|
35
|
-
LLL
|
36
|
-
LLLL
|
28
|
+
longDateFormat: {
|
29
|
+
LT: 'HH:mm',
|
30
|
+
LTS: 'HH:mm:ss',
|
31
|
+
L: 'DD/MM/YYYY',
|
32
|
+
LL: 'D MMMM YYYY',
|
33
|
+
LLL: 'D MMMM YYYY HH:mm',
|
34
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
37
35
|
},
|
38
|
-
calendar
|
39
|
-
sameDay
|
40
|
-
nextDay
|
41
|
-
nextWeek
|
42
|
-
lastDay
|
43
|
-
lastWeek
|
44
|
-
sameElse
|
36
|
+
calendar: {
|
37
|
+
sameDay: '[Vandag om] LT',
|
38
|
+
nextDay: '[Môre om] LT',
|
39
|
+
nextWeek: 'dddd [om] LT',
|
40
|
+
lastDay: '[Gister om] LT',
|
41
|
+
lastWeek: '[Laas] dddd [om] LT',
|
42
|
+
sameElse: 'L',
|
45
43
|
},
|
46
|
-
relativeTime
|
47
|
-
future
|
48
|
-
past
|
49
|
-
s
|
50
|
-
ss
|
51
|
-
m
|
52
|
-
mm
|
53
|
-
h
|
54
|
-
hh
|
55
|
-
d
|
56
|
-
dd
|
57
|
-
M
|
58
|
-
MM
|
59
|
-
y
|
60
|
-
yy
|
44
|
+
relativeTime: {
|
45
|
+
future: 'oor %s',
|
46
|
+
past: '%s gelede',
|
47
|
+
s: "'n paar sekondes",
|
48
|
+
ss: '%d sekondes',
|
49
|
+
m: "'n minuut",
|
50
|
+
mm: '%d minute',
|
51
|
+
h: "'n uur",
|
52
|
+
hh: '%d ure',
|
53
|
+
d: "'n dag",
|
54
|
+
dd: '%d dae',
|
55
|
+
M: "'n maand",
|
56
|
+
MM: '%d maande',
|
57
|
+
y: "'n jaar",
|
58
|
+
yy: '%d jaar',
|
61
59
|
},
|
62
60
|
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
|
63
|
-
ordinal
|
64
|
-
return
|
61
|
+
ordinal: function (number) {
|
62
|
+
return (
|
63
|
+
number +
|
64
|
+
(number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
|
65
|
+
); // Thanks to Joris Röling : https://github.com/jjupiter
|
66
|
+
},
|
67
|
+
week: {
|
68
|
+
dow: 1, // Maandag is die eerste dag van die week.
|
69
|
+
doy: 4, // Die week wat die 4de Januarie bevat is die eerste week van die jaar.
|
65
70
|
},
|
66
|
-
week : {
|
67
|
-
dow : 1, // Maandag is die eerste dag van die week.
|
68
|
-
doy : 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar.
|
69
|
-
}
|
70
71
|
});
|
71
|
-
|
72
|
-
return af;
|
73
|
-
|
74
|
-
})));
|
@@ -1,60 +1,156 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
2
|
//! locale : Arabic (Algeria) [ar-dz]
|
3
|
-
//! author :
|
3
|
+
//! author : Amine Roukh: https://github.com/Amine27
|
4
|
+
//! author : Abdel Said: https://github.com/abdelsaid
|
5
|
+
//! author : Ahmed Elkhatib
|
6
|
+
//! author : forabi https://github.com/forabi
|
7
|
+
//! author : Noureddine LOUAHEDJ : https://github.com/noureddinem
|
4
8
|
|
5
|
-
|
6
|
-
typeof exports === 'object' && typeof module !== 'undefined'
|
7
|
-
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
-
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
|
-
factory(global.moment)
|
10
|
-
}(this, (function (moment) { 'use strict';
|
9
|
+
import moment from '../moment';
|
11
10
|
|
11
|
+
var pluralForm = function (n) {
|
12
|
+
return n === 0
|
13
|
+
? 0
|
14
|
+
: n === 1
|
15
|
+
? 1
|
16
|
+
: n === 2
|
17
|
+
? 2
|
18
|
+
: n % 100 >= 3 && n % 100 <= 10
|
19
|
+
? 3
|
20
|
+
: n % 100 >= 11
|
21
|
+
? 4
|
22
|
+
: 5;
|
23
|
+
},
|
24
|
+
plurals = {
|
25
|
+
s: [
|
26
|
+
'أقل من ثانية',
|
27
|
+
'ثانية واحدة',
|
28
|
+
['ثانيتان', 'ثانيتين'],
|
29
|
+
'%d ثوان',
|
30
|
+
'%d ثانية',
|
31
|
+
'%d ثانية',
|
32
|
+
],
|
33
|
+
m: [
|
34
|
+
'أقل من دقيقة',
|
35
|
+
'دقيقة واحدة',
|
36
|
+
['دقيقتان', 'دقيقتين'],
|
37
|
+
'%d دقائق',
|
38
|
+
'%d دقيقة',
|
39
|
+
'%d دقيقة',
|
40
|
+
],
|
41
|
+
h: [
|
42
|
+
'أقل من ساعة',
|
43
|
+
'ساعة واحدة',
|
44
|
+
['ساعتان', 'ساعتين'],
|
45
|
+
'%d ساعات',
|
46
|
+
'%d ساعة',
|
47
|
+
'%d ساعة',
|
48
|
+
],
|
49
|
+
d: [
|
50
|
+
'أقل من يوم',
|
51
|
+
'يوم واحد',
|
52
|
+
['يومان', 'يومين'],
|
53
|
+
'%d أيام',
|
54
|
+
'%d يومًا',
|
55
|
+
'%d يوم',
|
56
|
+
],
|
57
|
+
M: [
|
58
|
+
'أقل من شهر',
|
59
|
+
'شهر واحد',
|
60
|
+
['شهران', 'شهرين'],
|
61
|
+
'%d أشهر',
|
62
|
+
'%d شهرا',
|
63
|
+
'%d شهر',
|
64
|
+
],
|
65
|
+
y: [
|
66
|
+
'أقل من عام',
|
67
|
+
'عام واحد',
|
68
|
+
['عامان', 'عامين'],
|
69
|
+
'%d أعوام',
|
70
|
+
'%d عامًا',
|
71
|
+
'%d عام',
|
72
|
+
],
|
73
|
+
},
|
74
|
+
pluralize = function (u) {
|
75
|
+
return function (number, withoutSuffix, string, isFuture) {
|
76
|
+
var f = pluralForm(number),
|
77
|
+
str = plurals[u][pluralForm(number)];
|
78
|
+
if (f === 2) {
|
79
|
+
str = str[withoutSuffix ? 0 : 1];
|
80
|
+
}
|
81
|
+
return str.replace(/%d/i, number);
|
82
|
+
};
|
83
|
+
},
|
84
|
+
months = [
|
85
|
+
'جانفي',
|
86
|
+
'فيفري',
|
87
|
+
'مارس',
|
88
|
+
'أفريل',
|
89
|
+
'ماي',
|
90
|
+
'جوان',
|
91
|
+
'جويلية',
|
92
|
+
'أوت',
|
93
|
+
'سبتمبر',
|
94
|
+
'أكتوبر',
|
95
|
+
'نوفمبر',
|
96
|
+
'ديسمبر',
|
97
|
+
];
|
12
98
|
|
13
|
-
|
14
|
-
months
|
15
|
-
monthsShort
|
16
|
-
weekdays
|
17
|
-
weekdaysShort
|
18
|
-
weekdaysMin
|
19
|
-
weekdaysParseExact
|
20
|
-
longDateFormat
|
21
|
-
LT
|
22
|
-
LTS
|
23
|
-
L
|
24
|
-
LL
|
25
|
-
LLL
|
26
|
-
LLLL
|
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
|
-
|
99
|
+
export default moment.defineLocale('ar-dz', {
|
100
|
+
months: months,
|
101
|
+
monthsShort: months,
|
102
|
+
weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
|
103
|
+
weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
|
104
|
+
weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
|
105
|
+
weekdaysParseExact: true,
|
106
|
+
longDateFormat: {
|
107
|
+
LT: 'HH:mm',
|
108
|
+
LTS: 'HH:mm:ss',
|
109
|
+
L: 'D/\u200FM/\u200FYYYY',
|
110
|
+
LL: 'D MMMM YYYY',
|
111
|
+
LLL: 'D MMMM YYYY HH:mm',
|
112
|
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
113
|
+
},
|
114
|
+
meridiemParse: /ص|م/,
|
115
|
+
isPM: function (input) {
|
116
|
+
return 'م' === input;
|
117
|
+
},
|
118
|
+
meridiem: function (hour, minute, isLower) {
|
119
|
+
if (hour < 12) {
|
120
|
+
return 'ص';
|
121
|
+
} else {
|
122
|
+
return 'م';
|
123
|
+
}
|
124
|
+
},
|
125
|
+
calendar: {
|
126
|
+
sameDay: '[اليوم عند الساعة] LT',
|
127
|
+
nextDay: '[غدًا عند الساعة] LT',
|
128
|
+
nextWeek: 'dddd [عند الساعة] LT',
|
129
|
+
lastDay: '[أمس عند الساعة] LT',
|
130
|
+
lastWeek: 'dddd [عند الساعة] LT',
|
131
|
+
sameElse: 'L',
|
132
|
+
},
|
133
|
+
relativeTime: {
|
134
|
+
future: 'بعد %s',
|
135
|
+
past: 'منذ %s',
|
136
|
+
s: pluralize('s'),
|
137
|
+
ss: pluralize('s'),
|
138
|
+
m: pluralize('m'),
|
139
|
+
mm: pluralize('m'),
|
140
|
+
h: pluralize('h'),
|
141
|
+
hh: pluralize('h'),
|
142
|
+
d: pluralize('d'),
|
143
|
+
dd: pluralize('d'),
|
144
|
+
M: pluralize('M'),
|
145
|
+
MM: pluralize('M'),
|
146
|
+
y: pluralize('y'),
|
147
|
+
yy: pluralize('y'),
|
148
|
+
},
|
149
|
+
postformat: function (string) {
|
150
|
+
return string.replace(/,/g, '،');
|
151
|
+
},
|
152
|
+
week: {
|
153
|
+
dow: 0, // Sunday is the first day of the week.
|
154
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
155
|
+
},
|
56
156
|
});
|
57
|
-
|
58
|
-
return arDz;
|
59
|
-
|
60
|
-
})));
|
@@ -2,59 +2,53 @@
|
|
2
2
|
//! locale : Arabic (Kuwait) [ar-kw]
|
3
3
|
//! author : Nusret Parlak: https://github.com/nusretparlak
|
4
4
|
|
5
|
-
|
6
|
-
typeof exports === 'object' && typeof module !== 'undefined'
|
7
|
-
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
-
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
|
-
factory(global.moment)
|
10
|
-
}(this, (function (moment) { 'use strict';
|
5
|
+
import moment from '../moment';
|
11
6
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
7
|
+
export default moment.defineLocale('ar-kw', {
|
8
|
+
months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
|
9
|
+
'_'
|
10
|
+
),
|
11
|
+
monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
|
12
|
+
'_'
|
13
|
+
),
|
14
|
+
weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
|
15
|
+
weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
|
16
|
+
weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
|
17
|
+
weekdaysParseExact: true,
|
18
|
+
longDateFormat: {
|
19
|
+
LT: 'HH:mm',
|
20
|
+
LTS: 'HH:mm:ss',
|
21
|
+
L: 'DD/MM/YYYY',
|
22
|
+
LL: 'D MMMM YYYY',
|
23
|
+
LLL: 'D MMMM YYYY HH:mm',
|
24
|
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
27
25
|
},
|
28
|
-
calendar
|
26
|
+
calendar: {
|
29
27
|
sameDay: '[اليوم على الساعة] LT',
|
30
28
|
nextDay: '[غدا على الساعة] LT',
|
31
29
|
nextWeek: 'dddd [على الساعة] LT',
|
32
30
|
lastDay: '[أمس على الساعة] LT',
|
33
31
|
lastWeek: 'dddd [على الساعة] LT',
|
34
|
-
sameElse: 'L'
|
32
|
+
sameElse: 'L',
|
33
|
+
},
|
34
|
+
relativeTime: {
|
35
|
+
future: 'في %s',
|
36
|
+
past: 'منذ %s',
|
37
|
+
s: 'ثوان',
|
38
|
+
ss: '%d ثانية',
|
39
|
+
m: 'دقيقة',
|
40
|
+
mm: '%d دقائق',
|
41
|
+
h: 'ساعة',
|
42
|
+
hh: '%d ساعات',
|
43
|
+
d: 'يوم',
|
44
|
+
dd: '%d أيام',
|
45
|
+
M: 'شهر',
|
46
|
+
MM: '%d أشهر',
|
47
|
+
y: 'سنة',
|
48
|
+
yy: '%d سنوات',
|
35
49
|
},
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
s : 'ثوان',
|
40
|
-
ss : '%d ثانية',
|
41
|
-
m : 'دقيقة',
|
42
|
-
mm : '%d دقائق',
|
43
|
-
h : 'ساعة',
|
44
|
-
hh : '%d ساعات',
|
45
|
-
d : 'يوم',
|
46
|
-
dd : '%d أيام',
|
47
|
-
M : 'شهر',
|
48
|
-
MM : '%d أشهر',
|
49
|
-
y : 'سنة',
|
50
|
-
yy : '%d سنوات'
|
50
|
+
week: {
|
51
|
+
dow: 0, // Sunday is the first day of the week.
|
52
|
+
doy: 12, // The week that contains Jan 12th is the first week of the year.
|
51
53
|
},
|
52
|
-
week : {
|
53
|
-
dow : 0, // Sunday is the first day of the week.
|
54
|
-
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
55
|
-
}
|
56
54
|
});
|
57
|
-
|
58
|
-
return arKw;
|
59
|
-
|
60
|
-
})));
|