alloy 2.0.2 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +0 -1
- package/.eslintrc.js +2 -1
- package/.github/dependabot.yml +4 -0
- package/.github/workflows/build.yml +12 -9
- package/.github/workflows/cla.yaml +1 -1
- package/.github/workflows/publish.yml +44 -5
- package/Alloy/builtins/moment/lang/af.js +52 -42
- package/Alloy/builtins/moment/lang/ar-dz.js +151 -42
- package/Alloy/builtins/moment/lang/ar-kw.js +42 -34
- package/Alloy/builtins/moment/lang/ar-ly.js +142 -81
- package/Alloy/builtins/moment/lang/ar-ma.js +43 -34
- package/Alloy/builtins/moment/lang/ar-ps.js +123 -0
- package/Alloy/builtins/moment/lang/ar-sa.js +77 -64
- package/Alloy/builtins/moment/lang/ar-tn.js +17 -9
- package/Alloy/builtins/moment/lang/ar.js +161 -95
- package/Alloy/builtins/moment/lang/az.js +54 -45
- package/Alloy/builtins/moment/lang/be.js +73 -51
- package/Alloy/builtins/moment/lang/bg.js +50 -41
- package/Alloy/builtins/moment/lang/bm.js +43 -38
- package/Alloy/builtins/moment/lang/bn-bd.js +140 -0
- package/Alloy/builtins/moment/lang/bn.js +78 -66
- package/Alloy/builtins/moment/lang/bo.js +83 -66
- package/Alloy/builtins/moment/lang/br.js +119 -47
- package/Alloy/builtins/moment/lang/bs.js +64 -43
- package/Alloy/builtins/moment/lang/ca.js +80 -56
- package/Alloy/builtins/moment/lang/cs.js +89 -68
- package/Alloy/builtins/moment/lang/cv.js +47 -35
- package/Alloy/builtins/moment/lang/cy.js +44 -14
- package/Alloy/builtins/moment/lang/da.js +44 -39
- package/Alloy/builtins/moment/lang/de-at.js +57 -42
- package/Alloy/builtins/moment/lang/de-ch.js +54 -42
- package/Alloy/builtins/moment/lang/de.js +56 -42
- package/Alloy/builtins/moment/lang/dv.js +65 -62
- package/Alloy/builtins/moment/lang/el.js +67 -49
- package/Alloy/builtins/moment/lang/en-au.js +56 -43
- package/Alloy/builtins/moment/lang/en-ca.js +53 -40
- package/Alloy/builtins/moment/lang/en-gb.js +56 -43
- package/Alloy/builtins/moment/lang/en-ie.js +56 -43
- package/Alloy/builtins/moment/lang/en-il.js +53 -39
- package/Alloy/builtins/moment/lang/en-in.js +79 -0
- package/Alloy/builtins/moment/lang/en-nz.js +56 -43
- package/Alloy/builtins/moment/lang/en-sg.js +79 -0
- package/Alloy/builtins/moment/lang/eo.js +49 -40
- package/Alloy/builtins/moment/lang/es-do.js +81 -53
- package/Alloy/builtins/moment/lang/es-mx.js +121 -0
- package/Alloy/builtins/moment/lang/es-us.js +83 -53
- package/Alloy/builtins/moment/lang/es.js +88 -58
- package/Alloy/builtins/moment/lang/et.js +60 -50
- package/Alloy/builtins/moment/lang/eu.js +56 -45
- package/Alloy/builtins/moment/lang/fa.js +88 -69
- package/Alloy/builtins/moment/lang/fi.js +75 -48
- package/Alloy/builtins/moment/lang/fil.js +69 -0
- package/Alloy/builtins/moment/lang/fo.js +48 -39
- package/Alloy/builtins/moment/lang/fr-ca.js +46 -38
- package/Alloy/builtins/moment/lang/fr-ch.js +49 -41
- package/Alloy/builtins/moment/lang/fr.js +78 -41
- package/Alloy/builtins/moment/lang/fy.js +51 -39
- package/Alloy/builtins/moment/lang/ga.js +48 -18
- package/Alloy/builtins/moment/lang/gd.js +82 -51
- package/Alloy/builtins/moment/lang/gl.js +56 -46
- package/Alloy/builtins/moment/lang/gom-deva.js +137 -0
- package/Alloy/builtins/moment/lang/gom-latn.js +71 -58
- package/Alloy/builtins/moment/lang/gu.js +30 -20
- package/Alloy/builtins/moment/lang/he.js +52 -43
- package/Alloy/builtins/moment/lang/hi.js +120 -64
- package/Alloy/builtins/moment/lang/hr.js +57 -43
- package/Alloy/builtins/moment/lang/hu.js +64 -44
- package/Alloy/builtins/moment/lang/hy-am.js +47 -36
- package/Alloy/builtins/moment/lang/id.js +46 -40
- package/Alloy/builtins/moment/lang/is.js +63 -43
- package/Alloy/builtins/moment/lang/it-ch.js +42 -35
- package/Alloy/builtins/moment/lang/it.js +91 -42
- package/Alloy/builtins/moment/lang/ja.js +113 -45
- package/Alloy/builtins/moment/lang/jv.js +46 -40
- package/Alloy/builtins/moment/lang/ka.js +66 -51
- package/Alloy/builtins/moment/lang/kk.js +47 -40
- package/Alloy/builtins/moment/lang/km.js +37 -32
- package/Alloy/builtins/moment/lang/kn.js +74 -64
- package/Alloy/builtins/moment/lang/ko.js +50 -44
- package/Alloy/builtins/moment/lang/ku-kmr.js +125 -0
- package/Alloy/builtins/moment/lang/ku.js +94 -83
- package/Alloy/builtins/moment/lang/ky.js +49 -40
- package/Alloy/builtins/moment/lang/lb.js +43 -30
- package/Alloy/builtins/moment/lang/lo.js +46 -38
- package/Alloy/builtins/moment/lang/lt.js +82 -63
- package/Alloy/builtins/moment/lang/lv.js +60 -51
- package/Alloy/builtins/moment/lang/me.js +53 -36
- package/Alloy/builtins/moment/lang/mi.js +17 -9
- package/Alloy/builtins/moment/lang/mk.js +47 -39
- package/Alloy/builtins/moment/lang/ml.js +54 -41
- package/Alloy/builtins/moment/lang/mn.js +48 -40
- package/Alloy/builtins/moment/lang/mr.js +143 -88
- package/Alloy/builtins/moment/lang/ms-my.js +45 -39
- package/Alloy/builtins/moment/lang/ms.js +44 -39
- package/Alloy/builtins/moment/lang/mt.js +47 -39
- package/Alloy/builtins/moment/lang/my.js +40 -30
- package/Alloy/builtins/moment/lang/nb.js +46 -36
- package/Alloy/builtins/moment/lang/ne.js +75 -65
- package/Alloy/builtins/moment/lang/nl-be.js +73 -46
- package/Alloy/builtins/moment/lang/nl.js +75 -46
- package/Alloy/builtins/moment/lang/nn.js +45 -34
- package/Alloy/builtins/moment/lang/oc-lnc.js +96 -0
- package/Alloy/builtins/moment/lang/pa-in.js +73 -63
- package/Alloy/builtins/moment/lang/pl.js +69 -43
- package/Alloy/builtins/moment/lang/pt-br.js +43 -34
- package/Alloy/builtins/moment/lang/pt.js +48 -38
- package/Alloy/builtins/moment/lang/ro.js +52 -39
- package/Alloy/builtins/moment/lang/ru.js +104 -61
- package/Alloy/builtins/moment/lang/sd.js +57 -62
- package/Alloy/builtins/moment/lang/se.js +42 -33
- package/Alloy/builtins/moment/lang/si.js +50 -40
- package/Alloy/builtins/moment/lang/sk.js +54 -53
- package/Alloy/builtins/moment/lang/sl.js +51 -41
- package/Alloy/builtins/moment/lang/sq.js +50 -41
- package/Alloy/builtins/moment/lang/sr-cyrl.js +71 -43
- package/Alloy/builtins/moment/lang/sr.js +74 -44
- package/Alloy/builtins/moment/lang/ss.js +50 -42
- package/Alloy/builtins/moment/lang/sv.js +52 -41
- package/Alloy/builtins/moment/lang/sw.js +47 -39
- package/Alloy/builtins/moment/lang/ta.js +78 -64
- package/Alloy/builtins/moment/lang/te.js +54 -43
- package/Alloy/builtins/moment/lang/tet.js +51 -38
- package/Alloy/builtins/moment/lang/tg.js +51 -38
- package/Alloy/builtins/moment/lang/th.js +47 -37
- package/Alloy/builtins/moment/lang/tk.js +102 -0
- package/Alloy/builtins/moment/lang/tl-ph.js +41 -34
- package/Alloy/builtins/moment/lang/tlh.js +69 -55
- package/Alloy/builtins/moment/lang/tr.js +83 -59
- package/Alloy/builtins/moment/lang/tzl.js +67 -57
- package/Alloy/builtins/moment/lang/tzm-latn.js +41 -33
- package/Alloy/builtins/moment/lang/tzm.js +40 -32
- package/Alloy/builtins/moment/lang/ug-cn.js +13 -9
- package/Alloy/builtins/moment/lang/uk.js +82 -57
- package/Alloy/builtins/moment/lang/ur.js +58 -62
- package/Alloy/builtins/moment/lang/uz-latn.js +46 -38
- package/Alloy/builtins/moment/lang/uz.js +43 -38
- package/Alloy/builtins/moment/lang/vi.js +56 -43
- package/Alloy/builtins/moment/lang/x-pseudo.js +61 -44
- package/Alloy/builtins/moment/lang/yo.js +45 -40
- package/Alloy/builtins/moment/lang/zh-cn.js +68 -46
- package/Alloy/builtins/moment/lang/zh-hk.js +61 -51
- package/Alloy/builtins/moment/lang/zh-mo.js +111 -0
- package/Alloy/builtins/moment/lang/zh-tw.js +57 -49
- package/Alloy/builtins/moment.js +2587 -1501
- package/Alloy/commands/compile/ast/controller.js +6 -2
- package/Alloy/commands/compile/compilerUtils.js +6 -8
- package/Alloy/commands/compile/parsers/Alloy.Abstract.FixedSpace.js +2 -11
- package/Alloy/commands/compile/parsers/Alloy.Abstract.FlexSpace.js +2 -11
- package/Alloy/commands/compile/parsers/Alloy.Abstract.Option.js +2 -2
- package/Alloy/commands/compile/parsers/Alloy.Abstract._ItemContainer.js +9 -2
- package/Alloy/commands/compile/parsers/Ti.UI.Android.CollapseToolbar.ContentView.js +13 -0
- package/Alloy/commands/compile/parsers/Ti.UI.Android.CollapseToolbar._ProxyProperty.js +13 -0
- package/Alloy/commands/compile/parsers/Ti.UI.Android.CollapseToolbar.js +35 -0
- package/Alloy/commands/compile/parsers/Ti.UI.Android.DrawerLayout._ProxyProperty.js +0 -1
- package/Alloy/commands/compile/parsers/Ti.UI.AttributedString.js +0 -5
- package/Alloy/commands/compile/parsers/Ti.UI.Button.js +2 -11
- package/Alloy/commands/compile/parsers/Ti.UI.NavigationWindow.js +0 -15
- package/Alloy/commands/compile/parsers/Ti.UI.OptionBar.js +0 -5
- package/Alloy/commands/compile/parsers/Ti.UI.PickerColumn.js +1 -1
- package/Alloy/commands/compile/parsers/Ti.UI.TabbedBar.js +0 -9
- package/Alloy/commands/compile/parsers/Ti.UI.Toolbar.js +0 -6
- package/Alloy/commands/generate/targets/widget.js +1 -1
- package/Alloy/commands/info/index.js +2 -2
- package/Alloy/common/constants.js +5 -3
- package/Alloy/lib/alloy/backbone/1.6.0/backbone.js +2155 -0
- package/Alloy/lib/alloy/underscore.js +1722 -1372
- package/Alloy/template/README +3 -9
- package/Alloy/template/app.tss +5 -12
- package/Alloy/template/controller.js +1 -1
- package/Alloy/template/gitignore.txt +3 -0
- package/Alloy/template/lib/alloy.js +0 -17
- package/Alloy/template/style.tss +0 -3
- package/Alloy/template/view.xml +4 -3
- package/Alloy/template/widget/style.tss +1 -2
- package/Alloy/tiapp.js +1 -11
- package/Alloy/utils.js +1 -1
- package/CHANGELOG.md +16 -0
- package/README.md +16 -0
- package/package.json +23 -46
- package/samples/lib/testUtils.js +1 -1
- package/test/lib/testUtils.js +1 -1
- package/test/projects/HarnessTemplate/tiapp.xml +1 -15
- package/test/specs/compile.js +3 -2
- package/test/specs/compilefile.js +3 -3
- package/test/specs/new.js +1 -1
- package/test/specs/optimizer.js +10 -13
- package/Alloy/commands/compile/parsers/Ti.UI.iPhone.NavigationGroup.js +0 -58
- package/dangerfile.js +0 -20
- package/samples/apps/advanced/complex_styling/themes/mobileweb/styles/app.tss +0 -11
- package/samples/apps/advanced/complex_styling/themes/mobileweb/styles/requiredlabel.tss +0 -4
- package/samples/apps/advanced/complex_styling/views/mobileweb/label.xml +0 -3
- package/samples/apps/advanced/device_query/_generated/mobileweb/alloy/controllers/index.js +0 -60
- package/samples/apps/advanced/dynamic_styling/views/mobileweb/features/autoStyle.xml +0 -54
- package/samples/apps/advanced/form_factor/_generated/mobileweb/alloy/controllers/index.js +0 -121
- package/samples/apps/advanced/inheritance/_generated/mobileweb/alloy/controllers/animatedDialog.js +0 -44
- package/samples/apps/advanced/inheritance/_generated/mobileweb/alloy/controllers/baseDialog.js +0 -88
- package/samples/apps/advanced/inheritance/_generated/mobileweb/alloy/controllers/index.js +0 -59
- package/samples/apps/advanced/master_detail/_generated/mobileweb/alloy/controllers/detail.js +0 -102
- package/samples/apps/advanced/master_detail/_generated/mobileweb/alloy/controllers/index.js +0 -35
- package/samples/apps/advanced/master_detail/_generated/mobileweb/alloy/controllers/master.js +0 -53
- package/samples/apps/advanced/master_detail/_generated/mobileweb/alloy/controllers/row.js +0 -67
- package/samples/apps/advanced/native_modules/_generated/mobileweb/alloy/controllers/index.js +0 -37
- package/samples/apps/advanced/platform_folders/_generated/mobileweb/alloy/controllers/index.js +0 -60
- package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/controllers/index.js +0 -207
- package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/controllers/proxy.js +0 -51
- package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/controllers/window.js +0 -49
- package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/widgets/com.foo.widget/controllers/row.js +0 -46
- package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/widgets/com.foo.widget/controllers/row_bind.js +0 -46
- package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/widgets/com.foo.widget/controllers/section.js +0 -59
- package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/widgets/com.foo.widget/styles/row.js +0 -14
- package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/widgets/com.foo.widget/styles/row_bind.js +0 -14
- package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/widgets/com.foo.widget/styles/section.js +0 -14
- package/samples/apps/advanced/themes/_generated/mobileweb/alloy/controllers/dialog.js +0 -112
- package/samples/apps/advanced/themes/_generated/mobileweb/alloy/controllers/index.js +0 -118
- package/samples/apps/basics/builtins/_generated/mobileweb/alloy/controllers/index.js +0 -102
- package/samples/apps/basics/config_json/_generated/mobileweb/alloy/controllers/index.js +0 -49
- package/samples/apps/basics/controller_events/_generated/mobileweb/alloy/controllers/CustomView.js +0 -60
- package/samples/apps/basics/controller_events/_generated/mobileweb/alloy/controllers/index.js +0 -57
- package/samples/apps/basics/global_style/_generated/mobileweb/alloy/controllers/index.js +0 -40
- package/samples/apps/basics/global_style/_generated/mobileweb/alloy/controllers/item.js +0 -45
- package/samples/apps/basics/markup_events/_generated/mobileweb/alloy/controllers/index.js +0 -49
- package/samples/apps/basics/markup_require/_generated/mobileweb/alloy/controllers/bottom.js +0 -42
- package/samples/apps/basics/markup_require/_generated/mobileweb/alloy/controllers/index.js +0 -49
- package/samples/apps/basics/markup_require/_generated/mobileweb/alloy/controllers/middle.js +0 -45
- package/samples/apps/basics/markup_require/_generated/mobileweb/alloy/controllers/theRest.js +0 -41
- package/samples/apps/basics/simple/_generated/mobileweb/alloy/controllers/index.js +0 -49
- package/samples/apps/models/journal/views/mobileweb/index.xml +0 -19
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/00.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/01.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/02.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/03.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/04.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/05.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/06.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/07.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/08.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/09.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/10.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/11.png +0 -0
- package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/spinner.png +0 -0
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
//! moment.js locale configuration
|
|
2
|
+
//! locale : English (New Zealand) [en-nz]
|
|
3
|
+
//! author : Luke McGregor : https://github.com/lukemcgregor
|
|
2
4
|
|
|
3
5
|
;(function (global, factory) {
|
|
4
6
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
@@ -7,58 +9,69 @@
|
|
|
7
9
|
factory(global.moment)
|
|
8
10
|
}(this, (function (moment) { 'use strict';
|
|
9
11
|
|
|
12
|
+
//! moment.js locale configuration
|
|
10
13
|
|
|
11
14
|
var enNz = moment.defineLocale('en-nz', {
|
|
12
|
-
months
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
15
|
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
18
|
+
monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
|
|
19
|
+
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
|
|
20
|
+
'_'
|
|
21
|
+
),
|
|
22
|
+
weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
|
23
|
+
weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
|
24
|
+
longDateFormat: {
|
|
25
|
+
LT: 'h:mm A',
|
|
26
|
+
LTS: 'h:mm:ss A',
|
|
27
|
+
L: 'DD/MM/YYYY',
|
|
28
|
+
LL: 'D MMMM YYYY',
|
|
29
|
+
LLL: 'D MMMM YYYY h:mm A',
|
|
30
|
+
LLLL: 'dddd, D MMMM YYYY h:mm A',
|
|
24
31
|
},
|
|
25
|
-
calendar
|
|
26
|
-
sameDay
|
|
27
|
-
nextDay
|
|
28
|
-
nextWeek
|
|
29
|
-
lastDay
|
|
30
|
-
lastWeek
|
|
31
|
-
sameElse
|
|
32
|
+
calendar: {
|
|
33
|
+
sameDay: '[Today at] LT',
|
|
34
|
+
nextDay: '[Tomorrow at] LT',
|
|
35
|
+
nextWeek: 'dddd [at] LT',
|
|
36
|
+
lastDay: '[Yesterday at] LT',
|
|
37
|
+
lastWeek: '[Last] dddd [at] LT',
|
|
38
|
+
sameElse: 'L',
|
|
32
39
|
},
|
|
33
|
-
relativeTime
|
|
34
|
-
future
|
|
35
|
-
past
|
|
36
|
-
s
|
|
37
|
-
ss
|
|
38
|
-
m
|
|
39
|
-
mm
|
|
40
|
-
h
|
|
41
|
-
hh
|
|
42
|
-
d
|
|
43
|
-
dd
|
|
44
|
-
M
|
|
45
|
-
MM
|
|
46
|
-
y
|
|
47
|
-
yy
|
|
40
|
+
relativeTime: {
|
|
41
|
+
future: 'in %s',
|
|
42
|
+
past: '%s ago',
|
|
43
|
+
s: 'a few seconds',
|
|
44
|
+
ss: '%d seconds',
|
|
45
|
+
m: 'a minute',
|
|
46
|
+
mm: '%d minutes',
|
|
47
|
+
h: 'an hour',
|
|
48
|
+
hh: '%d hours',
|
|
49
|
+
d: 'a day',
|
|
50
|
+
dd: '%d days',
|
|
51
|
+
M: 'a month',
|
|
52
|
+
MM: '%d months',
|
|
53
|
+
y: 'a year',
|
|
54
|
+
yy: '%d years',
|
|
48
55
|
},
|
|
49
56
|
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
|
50
|
-
ordinal
|
|
57
|
+
ordinal: function (number) {
|
|
51
58
|
var b = number % 10,
|
|
52
|
-
output =
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
59
|
+
output =
|
|
60
|
+
~~((number % 100) / 10) === 1
|
|
61
|
+
? 'th'
|
|
62
|
+
: b === 1
|
|
63
|
+
? 'st'
|
|
64
|
+
: b === 2
|
|
65
|
+
? 'nd'
|
|
66
|
+
: b === 3
|
|
67
|
+
? 'rd'
|
|
68
|
+
: 'th';
|
|
56
69
|
return number + output;
|
|
57
70
|
},
|
|
58
|
-
week
|
|
59
|
-
dow
|
|
60
|
-
doy
|
|
61
|
-
}
|
|
71
|
+
week: {
|
|
72
|
+
dow: 1, // Monday is the first day of the week.
|
|
73
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
74
|
+
},
|
|
62
75
|
});
|
|
63
76
|
|
|
64
77
|
return enNz;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : English (Singapore) [en-sg]
|
|
3
|
+
//! author : Matthew Castrillon-Madrigal : https://github.com/techdimension
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('/alloy/moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
var enSg = moment.defineLocale('en-sg', {
|
|
15
|
+
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
18
|
+
monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
|
|
19
|
+
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
|
|
20
|
+
'_'
|
|
21
|
+
),
|
|
22
|
+
weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
|
|
23
|
+
weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
|
|
24
|
+
longDateFormat: {
|
|
25
|
+
LT: 'HH:mm',
|
|
26
|
+
LTS: 'HH:mm:ss',
|
|
27
|
+
L: 'DD/MM/YYYY',
|
|
28
|
+
LL: 'D MMMM YYYY',
|
|
29
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
30
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
|
31
|
+
},
|
|
32
|
+
calendar: {
|
|
33
|
+
sameDay: '[Today at] LT',
|
|
34
|
+
nextDay: '[Tomorrow at] LT',
|
|
35
|
+
nextWeek: 'dddd [at] LT',
|
|
36
|
+
lastDay: '[Yesterday at] LT',
|
|
37
|
+
lastWeek: '[Last] dddd [at] LT',
|
|
38
|
+
sameElse: 'L',
|
|
39
|
+
},
|
|
40
|
+
relativeTime: {
|
|
41
|
+
future: 'in %s',
|
|
42
|
+
past: '%s ago',
|
|
43
|
+
s: 'a few seconds',
|
|
44
|
+
ss: '%d seconds',
|
|
45
|
+
m: 'a minute',
|
|
46
|
+
mm: '%d minutes',
|
|
47
|
+
h: 'an hour',
|
|
48
|
+
hh: '%d hours',
|
|
49
|
+
d: 'a day',
|
|
50
|
+
dd: '%d days',
|
|
51
|
+
M: 'a month',
|
|
52
|
+
MM: '%d months',
|
|
53
|
+
y: 'a year',
|
|
54
|
+
yy: '%d years',
|
|
55
|
+
},
|
|
56
|
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
|
57
|
+
ordinal: function (number) {
|
|
58
|
+
var b = number % 10,
|
|
59
|
+
output =
|
|
60
|
+
~~((number % 100) / 10) === 1
|
|
61
|
+
? 'th'
|
|
62
|
+
: b === 1
|
|
63
|
+
? 'st'
|
|
64
|
+
: b === 2
|
|
65
|
+
? 'nd'
|
|
66
|
+
: b === 3
|
|
67
|
+
? 'rd'
|
|
68
|
+
: 'th';
|
|
69
|
+
return number + output;
|
|
70
|
+
},
|
|
71
|
+
week: {
|
|
72
|
+
dow: 1, // Monday is the first day of the week.
|
|
73
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
return enSg;
|
|
78
|
+
|
|
79
|
+
})));
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
//! moment.js locale configuration
|
|
2
|
+
//! locale : Esperanto [eo]
|
|
3
|
+
//! author : Colin Dean : https://github.com/colindean
|
|
4
|
+
//! author : Mia Nordentoft Imperatori : https://github.com/miestasmia
|
|
5
|
+
//! comment : miestasmia corrected the translation by colindean
|
|
6
|
+
//! comment : Vivakvo corrected the translation by colindean and miestasmia
|
|
2
7
|
|
|
3
8
|
;(function (global, factory) {
|
|
4
9
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
@@ -7,62 +12,66 @@
|
|
|
7
12
|
factory(global.moment)
|
|
8
13
|
}(this, (function (moment) { 'use strict';
|
|
9
14
|
|
|
15
|
+
//! moment.js locale configuration
|
|
10
16
|
|
|
11
17
|
var eo = moment.defineLocale('eo', {
|
|
12
|
-
months
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split(
|
|
19
|
+
'_'
|
|
20
|
+
),
|
|
21
|
+
monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec'.split('_'),
|
|
22
|
+
weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),
|
|
23
|
+
weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),
|
|
24
|
+
weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'),
|
|
25
|
+
longDateFormat: {
|
|
26
|
+
LT: 'HH:mm',
|
|
27
|
+
LTS: 'HH:mm:ss',
|
|
28
|
+
L: 'YYYY-MM-DD',
|
|
29
|
+
LL: '[la] D[-an de] MMMM, YYYY',
|
|
30
|
+
LLL: '[la] D[-an de] MMMM, YYYY HH:mm',
|
|
31
|
+
LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm',
|
|
32
|
+
llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm',
|
|
24
33
|
},
|
|
25
34
|
meridiemParse: /[ap]\.t\.m/i,
|
|
26
35
|
isPM: function (input) {
|
|
27
36
|
return input.charAt(0).toLowerCase() === 'p';
|
|
28
37
|
},
|
|
29
|
-
meridiem
|
|
38
|
+
meridiem: function (hours, minutes, isLower) {
|
|
30
39
|
if (hours > 11) {
|
|
31
40
|
return isLower ? 'p.t.m.' : 'P.T.M.';
|
|
32
41
|
} else {
|
|
33
42
|
return isLower ? 'a.t.m.' : 'A.T.M.';
|
|
34
43
|
}
|
|
35
44
|
},
|
|
36
|
-
calendar
|
|
37
|
-
sameDay
|
|
38
|
-
nextDay
|
|
39
|
-
nextWeek
|
|
40
|
-
lastDay
|
|
41
|
-
lastWeek
|
|
42
|
-
sameElse
|
|
45
|
+
calendar: {
|
|
46
|
+
sameDay: '[Hodiaŭ je] LT',
|
|
47
|
+
nextDay: '[Morgaŭ je] LT',
|
|
48
|
+
nextWeek: 'dddd[n je] LT',
|
|
49
|
+
lastDay: '[Hieraŭ je] LT',
|
|
50
|
+
lastWeek: '[pasintan] dddd[n je] LT',
|
|
51
|
+
sameElse: 'L',
|
|
43
52
|
},
|
|
44
|
-
relativeTime
|
|
45
|
-
future
|
|
46
|
-
past
|
|
47
|
-
s
|
|
48
|
-
ss
|
|
49
|
-
m
|
|
50
|
-
mm
|
|
51
|
-
h
|
|
52
|
-
hh
|
|
53
|
-
d
|
|
54
|
-
dd
|
|
55
|
-
M
|
|
56
|
-
MM
|
|
57
|
-
y
|
|
58
|
-
yy
|
|
53
|
+
relativeTime: {
|
|
54
|
+
future: 'post %s',
|
|
55
|
+
past: 'antaŭ %s',
|
|
56
|
+
s: 'kelkaj sekundoj',
|
|
57
|
+
ss: '%d sekundoj',
|
|
58
|
+
m: 'unu minuto',
|
|
59
|
+
mm: '%d minutoj',
|
|
60
|
+
h: 'unu horo',
|
|
61
|
+
hh: '%d horoj',
|
|
62
|
+
d: 'unu tago', //ne 'diurno', ĉar estas uzita por proksimumo
|
|
63
|
+
dd: '%d tagoj',
|
|
64
|
+
M: 'unu monato',
|
|
65
|
+
MM: '%d monatoj',
|
|
66
|
+
y: 'unu jaro',
|
|
67
|
+
yy: '%d jaroj',
|
|
59
68
|
},
|
|
60
69
|
dayOfMonthOrdinalParse: /\d{1,2}a/,
|
|
61
|
-
ordinal
|
|
62
|
-
week
|
|
63
|
-
dow
|
|
64
|
-
doy
|
|
65
|
-
}
|
|
70
|
+
ordinal: '%da',
|
|
71
|
+
week: {
|
|
72
|
+
dow: 1, // Monday is the first day of the week.
|
|
73
|
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
|
74
|
+
},
|
|
66
75
|
});
|
|
67
76
|
|
|
68
77
|
return eo;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
//! moment.js locale configuration
|
|
2
|
+
//! locale : Spanish (Dominican Republic) [es-do]
|
|
2
3
|
|
|
3
4
|
;(function (global, factory) {
|
|
4
5
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
@@ -7,16 +8,35 @@
|
|
|
7
8
|
factory(global.moment)
|
|
8
9
|
}(this, (function (moment) { 'use strict';
|
|
9
10
|
|
|
11
|
+
//! moment.js locale configuration
|
|
10
12
|
|
|
11
|
-
var monthsShortDot =
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
var monthsShortDot =
|
|
14
|
+
'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
|
|
15
|
+
'_'
|
|
16
|
+
),
|
|
17
|
+
monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
|
|
18
|
+
monthsParse = [
|
|
19
|
+
/^ene/i,
|
|
20
|
+
/^feb/i,
|
|
21
|
+
/^mar/i,
|
|
22
|
+
/^abr/i,
|
|
23
|
+
/^may/i,
|
|
24
|
+
/^jun/i,
|
|
25
|
+
/^jul/i,
|
|
26
|
+
/^ago/i,
|
|
27
|
+
/^sep/i,
|
|
28
|
+
/^oct/i,
|
|
29
|
+
/^nov/i,
|
|
30
|
+
/^dic/i,
|
|
31
|
+
],
|
|
32
|
+
monthsRegex =
|
|
33
|
+
/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
|
|
16
34
|
|
|
17
35
|
var esDo = moment.defineLocale('es-do', {
|
|
18
|
-
months
|
|
19
|
-
|
|
36
|
+
months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
|
|
37
|
+
'_'
|
|
38
|
+
),
|
|
39
|
+
monthsShort: function (m, format) {
|
|
20
40
|
if (!m) {
|
|
21
41
|
return monthsShortDot;
|
|
22
42
|
} else if (/-MMM-/.test(format)) {
|
|
@@ -27,63 +47,71 @@
|
|
|
27
47
|
},
|
|
28
48
|
monthsRegex: monthsRegex,
|
|
29
49
|
monthsShortRegex: monthsRegex,
|
|
30
|
-
monthsStrictRegex:
|
|
31
|
-
|
|
50
|
+
monthsStrictRegex:
|
|
51
|
+
/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
|
|
52
|
+
monthsShortStrictRegex:
|
|
53
|
+
/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
|
|
32
54
|
monthsParse: monthsParse,
|
|
33
55
|
longMonthsParse: monthsParse,
|
|
34
56
|
shortMonthsParse: monthsParse,
|
|
35
|
-
weekdays
|
|
36
|
-
weekdaysShort
|
|
37
|
-
weekdaysMin
|
|
38
|
-
weekdaysParseExact
|
|
39
|
-
longDateFormat
|
|
40
|
-
LT
|
|
41
|
-
LTS
|
|
42
|
-
L
|
|
43
|
-
LL
|
|
44
|
-
LLL
|
|
45
|
-
LLLL
|
|
57
|
+
weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
|
|
58
|
+
weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
|
|
59
|
+
weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
|
|
60
|
+
weekdaysParseExact: true,
|
|
61
|
+
longDateFormat: {
|
|
62
|
+
LT: 'h:mm A',
|
|
63
|
+
LTS: 'h:mm:ss A',
|
|
64
|
+
L: 'DD/MM/YYYY',
|
|
65
|
+
LL: 'D [de] MMMM [de] YYYY',
|
|
66
|
+
LLL: 'D [de] MMMM [de] YYYY h:mm A',
|
|
67
|
+
LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',
|
|
46
68
|
},
|
|
47
|
-
calendar
|
|
48
|
-
sameDay
|
|
49
|
-
return '[hoy a la' + (
|
|
69
|
+
calendar: {
|
|
70
|
+
sameDay: function () {
|
|
71
|
+
return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
|
50
72
|
},
|
|
51
|
-
nextDay
|
|
52
|
-
return '[mañana a la' + (
|
|
73
|
+
nextDay: function () {
|
|
74
|
+
return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
|
53
75
|
},
|
|
54
|
-
nextWeek
|
|
55
|
-
return 'dddd [a la' + (
|
|
76
|
+
nextWeek: function () {
|
|
77
|
+
return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
|
56
78
|
},
|
|
57
|
-
lastDay
|
|
58
|
-
return '[ayer a la' + (
|
|
79
|
+
lastDay: function () {
|
|
80
|
+
return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
|
59
81
|
},
|
|
60
|
-
lastWeek
|
|
61
|
-
return
|
|
82
|
+
lastWeek: function () {
|
|
83
|
+
return (
|
|
84
|
+
'[el] dddd [pasado a la' +
|
|
85
|
+
(this.hours() !== 1 ? 's' : '') +
|
|
86
|
+
'] LT'
|
|
87
|
+
);
|
|
62
88
|
},
|
|
63
|
-
sameElse
|
|
89
|
+
sameElse: 'L',
|
|
90
|
+
},
|
|
91
|
+
relativeTime: {
|
|
92
|
+
future: 'en %s',
|
|
93
|
+
past: 'hace %s',
|
|
94
|
+
s: 'unos segundos',
|
|
95
|
+
ss: '%d segundos',
|
|
96
|
+
m: 'un minuto',
|
|
97
|
+
mm: '%d minutos',
|
|
98
|
+
h: 'una hora',
|
|
99
|
+
hh: '%d horas',
|
|
100
|
+
d: 'un día',
|
|
101
|
+
dd: '%d días',
|
|
102
|
+
w: 'una semana',
|
|
103
|
+
ww: '%d semanas',
|
|
104
|
+
M: 'un mes',
|
|
105
|
+
MM: '%d meses',
|
|
106
|
+
y: 'un año',
|
|
107
|
+
yy: '%d años',
|
|
64
108
|
},
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
m : 'un minuto',
|
|
71
|
-
mm : '%d minutos',
|
|
72
|
-
h : 'una hora',
|
|
73
|
-
hh : '%d horas',
|
|
74
|
-
d : 'un día',
|
|
75
|
-
dd : '%d días',
|
|
76
|
-
M : 'un mes',
|
|
77
|
-
MM : '%d meses',
|
|
78
|
-
y : 'un año',
|
|
79
|
-
yy : '%d años'
|
|
109
|
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
|
110
|
+
ordinal: '%dº',
|
|
111
|
+
week: {
|
|
112
|
+
dow: 1, // Monday is the first day of the week.
|
|
113
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
80
114
|
},
|
|
81
|
-
dayOfMonthOrdinalParse : /\d{1,2}º/,
|
|
82
|
-
ordinal : '%dº',
|
|
83
|
-
week : {
|
|
84
|
-
dow : 1, // Monday is the first day of the week.
|
|
85
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
86
|
-
}
|
|
87
115
|
});
|
|
88
116
|
|
|
89
117
|
return esDo;
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Spanish (Mexico) [es-mx]
|
|
3
|
+
//! author : JC Franco : https://github.com/jcfranco
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('/alloy/moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
var monthsShortDot =
|
|
15
|
+
'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
18
|
+
monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
|
|
19
|
+
monthsParse = [
|
|
20
|
+
/^ene/i,
|
|
21
|
+
/^feb/i,
|
|
22
|
+
/^mar/i,
|
|
23
|
+
/^abr/i,
|
|
24
|
+
/^may/i,
|
|
25
|
+
/^jun/i,
|
|
26
|
+
/^jul/i,
|
|
27
|
+
/^ago/i,
|
|
28
|
+
/^sep/i,
|
|
29
|
+
/^oct/i,
|
|
30
|
+
/^nov/i,
|
|
31
|
+
/^dic/i,
|
|
32
|
+
],
|
|
33
|
+
monthsRegex =
|
|
34
|
+
/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
|
|
35
|
+
|
|
36
|
+
var esMx = moment.defineLocale('es-mx', {
|
|
37
|
+
months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
|
|
38
|
+
'_'
|
|
39
|
+
),
|
|
40
|
+
monthsShort: function (m, format) {
|
|
41
|
+
if (!m) {
|
|
42
|
+
return monthsShortDot;
|
|
43
|
+
} else if (/-MMM-/.test(format)) {
|
|
44
|
+
return monthsShort[m.month()];
|
|
45
|
+
} else {
|
|
46
|
+
return monthsShortDot[m.month()];
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
monthsRegex: monthsRegex,
|
|
50
|
+
monthsShortRegex: monthsRegex,
|
|
51
|
+
monthsStrictRegex:
|
|
52
|
+
/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
|
|
53
|
+
monthsShortStrictRegex:
|
|
54
|
+
/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
|
|
55
|
+
monthsParse: monthsParse,
|
|
56
|
+
longMonthsParse: monthsParse,
|
|
57
|
+
shortMonthsParse: monthsParse,
|
|
58
|
+
weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
|
|
59
|
+
weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
|
|
60
|
+
weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
|
|
61
|
+
weekdaysParseExact: true,
|
|
62
|
+
longDateFormat: {
|
|
63
|
+
LT: 'H:mm',
|
|
64
|
+
LTS: 'H:mm:ss',
|
|
65
|
+
L: 'DD/MM/YYYY',
|
|
66
|
+
LL: 'D [de] MMMM [de] YYYY',
|
|
67
|
+
LLL: 'D [de] MMMM [de] YYYY H:mm',
|
|
68
|
+
LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
|
|
69
|
+
},
|
|
70
|
+
calendar: {
|
|
71
|
+
sameDay: function () {
|
|
72
|
+
return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
|
73
|
+
},
|
|
74
|
+
nextDay: function () {
|
|
75
|
+
return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
|
76
|
+
},
|
|
77
|
+
nextWeek: function () {
|
|
78
|
+
return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
|
79
|
+
},
|
|
80
|
+
lastDay: function () {
|
|
81
|
+
return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
|
|
82
|
+
},
|
|
83
|
+
lastWeek: function () {
|
|
84
|
+
return (
|
|
85
|
+
'[el] dddd [pasado a la' +
|
|
86
|
+
(this.hours() !== 1 ? 's' : '') +
|
|
87
|
+
'] LT'
|
|
88
|
+
);
|
|
89
|
+
},
|
|
90
|
+
sameElse: 'L',
|
|
91
|
+
},
|
|
92
|
+
relativeTime: {
|
|
93
|
+
future: 'en %s',
|
|
94
|
+
past: 'hace %s',
|
|
95
|
+
s: 'unos segundos',
|
|
96
|
+
ss: '%d segundos',
|
|
97
|
+
m: 'un minuto',
|
|
98
|
+
mm: '%d minutos',
|
|
99
|
+
h: 'una hora',
|
|
100
|
+
hh: '%d horas',
|
|
101
|
+
d: 'un día',
|
|
102
|
+
dd: '%d días',
|
|
103
|
+
w: 'una semana',
|
|
104
|
+
ww: '%d semanas',
|
|
105
|
+
M: 'un mes',
|
|
106
|
+
MM: '%d meses',
|
|
107
|
+
y: 'un año',
|
|
108
|
+
yy: '%d años',
|
|
109
|
+
},
|
|
110
|
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
|
111
|
+
ordinal: '%dº',
|
|
112
|
+
week: {
|
|
113
|
+
dow: 0, // Sunday is the first day of the week.
|
|
114
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
115
|
+
},
|
|
116
|
+
invalidDate: 'Fecha inválida',
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
return esMx;
|
|
120
|
+
|
|
121
|
+
})));
|