alloy 2.0.2 → 2.1.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.
Files changed (221) hide show
  1. package/.eslintignore +0 -1
  2. package/.github/dependabot.yml +4 -0
  3. package/.github/workflows/build.yml +4 -0
  4. package/.github/workflows/publish.yml +4 -4
  5. package/Alloy/builtins/moment/lang/af.js +52 -42
  6. package/Alloy/builtins/moment/lang/ar-dz.js +151 -42
  7. package/Alloy/builtins/moment/lang/ar-kw.js +42 -34
  8. package/Alloy/builtins/moment/lang/ar-ly.js +142 -81
  9. package/Alloy/builtins/moment/lang/ar-ma.js +43 -34
  10. package/Alloy/builtins/moment/lang/ar-sa.js +77 -64
  11. package/Alloy/builtins/moment/lang/ar-tn.js +17 -9
  12. package/Alloy/builtins/moment/lang/ar.js +161 -95
  13. package/Alloy/builtins/moment/lang/az.js +54 -45
  14. package/Alloy/builtins/moment/lang/be.js +73 -51
  15. package/Alloy/builtins/moment/lang/bg.js +50 -41
  16. package/Alloy/builtins/moment/lang/bm.js +43 -38
  17. package/Alloy/builtins/moment/lang/bn-bd.js +140 -0
  18. package/Alloy/builtins/moment/lang/bn.js +78 -66
  19. package/Alloy/builtins/moment/lang/bo.js +83 -66
  20. package/Alloy/builtins/moment/lang/br.js +119 -47
  21. package/Alloy/builtins/moment/lang/bs.js +51 -40
  22. package/Alloy/builtins/moment/lang/ca.js +80 -56
  23. package/Alloy/builtins/moment/lang/cs.js +88 -68
  24. package/Alloy/builtins/moment/lang/cv.js +47 -35
  25. package/Alloy/builtins/moment/lang/cy.js +44 -14
  26. package/Alloy/builtins/moment/lang/da.js +44 -39
  27. package/Alloy/builtins/moment/lang/de-at.js +57 -42
  28. package/Alloy/builtins/moment/lang/de-ch.js +54 -42
  29. package/Alloy/builtins/moment/lang/de.js +56 -42
  30. package/Alloy/builtins/moment/lang/dv.js +65 -62
  31. package/Alloy/builtins/moment/lang/el.js +67 -49
  32. package/Alloy/builtins/moment/lang/en-au.js +56 -43
  33. package/Alloy/builtins/moment/lang/en-ca.js +53 -40
  34. package/Alloy/builtins/moment/lang/en-gb.js +56 -43
  35. package/Alloy/builtins/moment/lang/en-ie.js +56 -43
  36. package/Alloy/builtins/moment/lang/en-il.js +53 -39
  37. package/Alloy/builtins/moment/lang/en-in.js +79 -0
  38. package/Alloy/builtins/moment/lang/en-nz.js +56 -43
  39. package/Alloy/builtins/moment/lang/en-sg.js +79 -0
  40. package/Alloy/builtins/moment/lang/eo.js +49 -40
  41. package/Alloy/builtins/moment/lang/es-do.js +81 -53
  42. package/Alloy/builtins/moment/lang/es-mx.js +121 -0
  43. package/Alloy/builtins/moment/lang/es-us.js +83 -53
  44. package/Alloy/builtins/moment/lang/es.js +88 -58
  45. package/Alloy/builtins/moment/lang/et.js +60 -50
  46. package/Alloy/builtins/moment/lang/eu.js +56 -45
  47. package/Alloy/builtins/moment/lang/fa.js +88 -69
  48. package/Alloy/builtins/moment/lang/fi.js +75 -48
  49. package/Alloy/builtins/moment/lang/fil.js +69 -0
  50. package/Alloy/builtins/moment/lang/fo.js +48 -39
  51. package/Alloy/builtins/moment/lang/fr-ca.js +46 -38
  52. package/Alloy/builtins/moment/lang/fr-ch.js +49 -41
  53. package/Alloy/builtins/moment/lang/fr.js +78 -41
  54. package/Alloy/builtins/moment/lang/fy.js +51 -39
  55. package/Alloy/builtins/moment/lang/ga.js +48 -18
  56. package/Alloy/builtins/moment/lang/gd.js +82 -51
  57. package/Alloy/builtins/moment/lang/gl.js +56 -46
  58. package/Alloy/builtins/moment/lang/gom-deva.js +137 -0
  59. package/Alloy/builtins/moment/lang/gom-latn.js +71 -58
  60. package/Alloy/builtins/moment/lang/gu.js +30 -20
  61. package/Alloy/builtins/moment/lang/he.js +52 -43
  62. package/Alloy/builtins/moment/lang/hi.js +120 -64
  63. package/Alloy/builtins/moment/lang/hr.js +57 -43
  64. package/Alloy/builtins/moment/lang/hu.js +64 -44
  65. package/Alloy/builtins/moment/lang/hy-am.js +47 -36
  66. package/Alloy/builtins/moment/lang/id.js +46 -40
  67. package/Alloy/builtins/moment/lang/is.js +63 -43
  68. package/Alloy/builtins/moment/lang/it-ch.js +42 -35
  69. package/Alloy/builtins/moment/lang/it.js +91 -42
  70. package/Alloy/builtins/moment/lang/ja.js +113 -45
  71. package/Alloy/builtins/moment/lang/jv.js +46 -40
  72. package/Alloy/builtins/moment/lang/ka.js +66 -51
  73. package/Alloy/builtins/moment/lang/kk.js +47 -40
  74. package/Alloy/builtins/moment/lang/km.js +37 -32
  75. package/Alloy/builtins/moment/lang/kn.js +74 -64
  76. package/Alloy/builtins/moment/lang/ko.js +50 -44
  77. package/Alloy/builtins/moment/lang/ku.js +94 -83
  78. package/Alloy/builtins/moment/lang/ky.js +49 -40
  79. package/Alloy/builtins/moment/lang/lb.js +43 -30
  80. package/Alloy/builtins/moment/lang/lo.js +46 -38
  81. package/Alloy/builtins/moment/lang/lt.js +82 -63
  82. package/Alloy/builtins/moment/lang/lv.js +60 -51
  83. package/Alloy/builtins/moment/lang/me.js +53 -36
  84. package/Alloy/builtins/moment/lang/mi.js +17 -9
  85. package/Alloy/builtins/moment/lang/mk.js +47 -39
  86. package/Alloy/builtins/moment/lang/ml.js +54 -41
  87. package/Alloy/builtins/moment/lang/mn.js +48 -40
  88. package/Alloy/builtins/moment/lang/mr.js +143 -88
  89. package/Alloy/builtins/moment/lang/ms-my.js +45 -39
  90. package/Alloy/builtins/moment/lang/ms.js +44 -39
  91. package/Alloy/builtins/moment/lang/mt.js +47 -39
  92. package/Alloy/builtins/moment/lang/my.js +40 -30
  93. package/Alloy/builtins/moment/lang/nb.js +46 -36
  94. package/Alloy/builtins/moment/lang/ne.js +75 -65
  95. package/Alloy/builtins/moment/lang/nl-be.js +73 -46
  96. package/Alloy/builtins/moment/lang/nl.js +75 -46
  97. package/Alloy/builtins/moment/lang/nn.js +45 -34
  98. package/Alloy/builtins/moment/lang/oc-lnc.js +96 -0
  99. package/Alloy/builtins/moment/lang/pa-in.js +73 -63
  100. package/Alloy/builtins/moment/lang/pl.js +69 -43
  101. package/Alloy/builtins/moment/lang/pt-br.js +43 -34
  102. package/Alloy/builtins/moment/lang/pt.js +48 -38
  103. package/Alloy/builtins/moment/lang/ro.js +52 -39
  104. package/Alloy/builtins/moment/lang/ru.js +104 -61
  105. package/Alloy/builtins/moment/lang/sd.js +57 -62
  106. package/Alloy/builtins/moment/lang/se.js +42 -33
  107. package/Alloy/builtins/moment/lang/si.js +50 -40
  108. package/Alloy/builtins/moment/lang/sk.js +54 -53
  109. package/Alloy/builtins/moment/lang/sl.js +51 -41
  110. package/Alloy/builtins/moment/lang/sq.js +50 -41
  111. package/Alloy/builtins/moment/lang/sr-cyrl.js +71 -43
  112. package/Alloy/builtins/moment/lang/sr.js +74 -44
  113. package/Alloy/builtins/moment/lang/ss.js +50 -42
  114. package/Alloy/builtins/moment/lang/sv.js +52 -41
  115. package/Alloy/builtins/moment/lang/sw.js +47 -39
  116. package/Alloy/builtins/moment/lang/ta.js +78 -64
  117. package/Alloy/builtins/moment/lang/te.js +54 -43
  118. package/Alloy/builtins/moment/lang/tet.js +51 -38
  119. package/Alloy/builtins/moment/lang/tg.js +51 -38
  120. package/Alloy/builtins/moment/lang/th.js +47 -37
  121. package/Alloy/builtins/moment/lang/tk.js +102 -0
  122. package/Alloy/builtins/moment/lang/tl-ph.js +41 -34
  123. package/Alloy/builtins/moment/lang/tlh.js +69 -55
  124. package/Alloy/builtins/moment/lang/tr.js +83 -59
  125. package/Alloy/builtins/moment/lang/tzl.js +67 -57
  126. package/Alloy/builtins/moment/lang/tzm-latn.js +41 -33
  127. package/Alloy/builtins/moment/lang/tzm.js +40 -32
  128. package/Alloy/builtins/moment/lang/ug-cn.js +13 -9
  129. package/Alloy/builtins/moment/lang/uk.js +82 -57
  130. package/Alloy/builtins/moment/lang/ur.js +58 -62
  131. package/Alloy/builtins/moment/lang/uz-latn.js +46 -38
  132. package/Alloy/builtins/moment/lang/uz.js +43 -38
  133. package/Alloy/builtins/moment/lang/vi.js +56 -43
  134. package/Alloy/builtins/moment/lang/x-pseudo.js +61 -44
  135. package/Alloy/builtins/moment/lang/yo.js +45 -40
  136. package/Alloy/builtins/moment/lang/zh-cn.js +68 -46
  137. package/Alloy/builtins/moment/lang/zh-hk.js +61 -51
  138. package/Alloy/builtins/moment/lang/zh-mo.js +111 -0
  139. package/Alloy/builtins/moment/lang/zh-tw.js +57 -49
  140. package/Alloy/builtins/moment.js +2534 -1451
  141. package/Alloy/commands/compile/compilerUtils.js +3 -6
  142. package/Alloy/commands/compile/parsers/Ti.UI.Android.CollapseToolbar.ContentView.js +13 -0
  143. package/Alloy/commands/compile/parsers/Ti.UI.Android.CollapseToolbar._ProxyProperty.js +13 -0
  144. package/Alloy/commands/compile/parsers/Ti.UI.Android.CollapseToolbar.js +35 -0
  145. package/Alloy/commands/compile/parsers/Ti.UI.Android.DrawerLayout._ProxyProperty.js +0 -1
  146. package/Alloy/commands/compile/parsers/Ti.UI.PickerColumn.js +1 -1
  147. package/Alloy/commands/generate/targets/widget.js +1 -1
  148. package/Alloy/commands/info/index.js +2 -2
  149. package/Alloy/common/constants.js +4 -2
  150. package/Alloy/lib/alloy/underscore.js +1722 -1372
  151. package/Alloy/template/README +3 -9
  152. package/Alloy/template/app.tss +5 -12
  153. package/Alloy/template/controller.js +1 -1
  154. package/Alloy/template/gitignore.txt +3 -0
  155. package/Alloy/template/lib/alloy.js +0 -17
  156. package/Alloy/template/style.tss +0 -3
  157. package/Alloy/template/view.xml +4 -3
  158. package/Alloy/template/widget/style.tss +1 -2
  159. package/Alloy/utils.js +1 -1
  160. package/CHANGELOG.md +16 -0
  161. package/package.json +21 -25
  162. package/samples/lib/testUtils.js +1 -1
  163. package/test/lib/testUtils.js +1 -1
  164. package/test/projects/HarnessTemplate/tiapp.xml +0 -15
  165. package/test/specs/compile.js +3 -2
  166. package/test/specs/compilefile.js +3 -3
  167. package/test/specs/new.js +1 -1
  168. package/test/specs/optimizer.js +10 -13
  169. package/dangerfile.js +0 -20
  170. package/samples/apps/advanced/complex_styling/themes/mobileweb/styles/app.tss +0 -11
  171. package/samples/apps/advanced/complex_styling/themes/mobileweb/styles/requiredlabel.tss +0 -4
  172. package/samples/apps/advanced/complex_styling/views/mobileweb/label.xml +0 -3
  173. package/samples/apps/advanced/device_query/_generated/mobileweb/alloy/controllers/index.js +0 -60
  174. package/samples/apps/advanced/dynamic_styling/views/mobileweb/features/autoStyle.xml +0 -54
  175. package/samples/apps/advanced/form_factor/_generated/mobileweb/alloy/controllers/index.js +0 -121
  176. package/samples/apps/advanced/inheritance/_generated/mobileweb/alloy/controllers/animatedDialog.js +0 -44
  177. package/samples/apps/advanced/inheritance/_generated/mobileweb/alloy/controllers/baseDialog.js +0 -88
  178. package/samples/apps/advanced/inheritance/_generated/mobileweb/alloy/controllers/index.js +0 -59
  179. package/samples/apps/advanced/master_detail/_generated/mobileweb/alloy/controllers/detail.js +0 -102
  180. package/samples/apps/advanced/master_detail/_generated/mobileweb/alloy/controllers/index.js +0 -35
  181. package/samples/apps/advanced/master_detail/_generated/mobileweb/alloy/controllers/master.js +0 -53
  182. package/samples/apps/advanced/master_detail/_generated/mobileweb/alloy/controllers/row.js +0 -67
  183. package/samples/apps/advanced/native_modules/_generated/mobileweb/alloy/controllers/index.js +0 -37
  184. package/samples/apps/advanced/platform_folders/_generated/mobileweb/alloy/controllers/index.js +0 -60
  185. package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/controllers/index.js +0 -207
  186. package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/controllers/proxy.js +0 -51
  187. package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/controllers/window.js +0 -49
  188. package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/widgets/com.foo.widget/controllers/row.js +0 -46
  189. package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/widgets/com.foo.widget/controllers/row_bind.js +0 -46
  190. package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/widgets/com.foo.widget/controllers/section.js +0 -59
  191. package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/widgets/com.foo.widget/styles/row.js +0 -14
  192. package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/widgets/com.foo.widget/styles/row_bind.js +0 -14
  193. package/samples/apps/advanced/proxy_property_requires/_generated/mobileweb/alloy/widgets/com.foo.widget/styles/section.js +0 -14
  194. package/samples/apps/advanced/themes/_generated/mobileweb/alloy/controllers/dialog.js +0 -112
  195. package/samples/apps/advanced/themes/_generated/mobileweb/alloy/controllers/index.js +0 -118
  196. package/samples/apps/basics/builtins/_generated/mobileweb/alloy/controllers/index.js +0 -102
  197. package/samples/apps/basics/config_json/_generated/mobileweb/alloy/controllers/index.js +0 -49
  198. package/samples/apps/basics/controller_events/_generated/mobileweb/alloy/controllers/CustomView.js +0 -60
  199. package/samples/apps/basics/controller_events/_generated/mobileweb/alloy/controllers/index.js +0 -57
  200. package/samples/apps/basics/global_style/_generated/mobileweb/alloy/controllers/index.js +0 -40
  201. package/samples/apps/basics/global_style/_generated/mobileweb/alloy/controllers/item.js +0 -45
  202. package/samples/apps/basics/markup_events/_generated/mobileweb/alloy/controllers/index.js +0 -49
  203. package/samples/apps/basics/markup_require/_generated/mobileweb/alloy/controllers/bottom.js +0 -42
  204. package/samples/apps/basics/markup_require/_generated/mobileweb/alloy/controllers/index.js +0 -49
  205. package/samples/apps/basics/markup_require/_generated/mobileweb/alloy/controllers/middle.js +0 -45
  206. package/samples/apps/basics/markup_require/_generated/mobileweb/alloy/controllers/theRest.js +0 -41
  207. package/samples/apps/basics/simple/_generated/mobileweb/alloy/controllers/index.js +0 -49
  208. package/samples/apps/models/journal/views/mobileweb/index.xml +0 -19
  209. package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/00.png +0 -0
  210. package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/01.png +0 -0
  211. package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/02.png +0 -0
  212. package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/03.png +0 -0
  213. package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/04.png +0 -0
  214. package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/05.png +0 -0
  215. package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/06.png +0 -0
  216. package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/07.png +0 -0
  217. package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/08.png +0 -0
  218. package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/09.png +0 -0
  219. package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/10.png +0 -0
  220. package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/11.png +0 -0
  221. package/samples/apps/widgets/complex/widgets/com.appcelerator.loading/assets/mobileweb/images/spinner.png +0 -0
@@ -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 = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
12
- monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
13
-
14
- var monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i];
15
- var monthsRegex = /^(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;
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 : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
19
- monthsShort : function (m, format) {
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: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
31
- monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
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 : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
36
- weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
37
- weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'),
38
- weekdaysParseExact : true,
39
- longDateFormat : {
40
- LT : 'h:mm A',
41
- LTS : 'h:mm:ss A',
42
- L : 'DD/MM/YYYY',
43
- LL : 'D [de] MMMM [de] YYYY',
44
- LLL : 'D [de] MMMM [de] YYYY h:mm A',
45
- LLLL : 'dddd, D [de] MMMM [de] YYYY h:mm A'
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 : function () {
49
- return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
69
+ calendar: {
70
+ sameDay: function () {
71
+ return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
50
72
  },
51
- nextDay : function () {
52
- return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
73
+ nextDay: function () {
74
+ return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
53
75
  },
54
- nextWeek : function () {
55
- return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
76
+ nextWeek: function () {
77
+ return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
56
78
  },
57
- lastDay : function () {
58
- return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
79
+ lastDay: function () {
80
+ return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
59
81
  },
60
- lastWeek : function () {
61
- return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
82
+ lastWeek: function () {
83
+ return (
84
+ '[el] dddd [pasado a la' +
85
+ (this.hours() !== 1 ? 's' : '') +
86
+ '] LT'
87
+ );
62
88
  },
63
- sameElse : 'L'
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
- relativeTime : {
66
- future : 'en %s',
67
- past : 'hace %s',
68
- s : 'unos segundos',
69
- ss : '%d segundos',
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
+ })));
@@ -1,4 +1,7 @@
1
1
  //! moment.js locale configuration
2
+ //! locale : Spanish (United States) [es-us]
3
+ //! author : bustta : https://github.com/bustta
4
+ //! author : chrisrodz : https://github.com/chrisrodz
2
5
 
3
6
  ;(function (global, factory) {
4
7
  typeof exports === 'object' && typeof module !== 'undefined'
@@ -7,16 +10,35 @@
7
10
  factory(global.moment)
8
11
  }(this, (function (moment) { 'use strict';
9
12
 
13
+ //! moment.js locale configuration
10
14
 
11
- var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
12
- monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
13
-
14
- var monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i];
15
- var monthsRegex = /^(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;
15
+ var monthsShortDot =
16
+ 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
17
+ '_'
18
+ ),
19
+ monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
20
+ monthsParse = [
21
+ /^ene/i,
22
+ /^feb/i,
23
+ /^mar/i,
24
+ /^abr/i,
25
+ /^may/i,
26
+ /^jun/i,
27
+ /^jul/i,
28
+ /^ago/i,
29
+ /^sep/i,
30
+ /^oct/i,
31
+ /^nov/i,
32
+ /^dic/i,
33
+ ],
34
+ monthsRegex =
35
+ /^(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
36
 
17
37
  var esUs = moment.defineLocale('es-us', {
18
- months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
19
- monthsShort : function (m, format) {
38
+ months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
39
+ '_'
40
+ ),
41
+ monthsShort: function (m, format) {
20
42
  if (!m) {
21
43
  return monthsShortDot;
22
44
  } else if (/-MMM-/.test(format)) {
@@ -27,63 +49,71 @@
27
49
  },
28
50
  monthsRegex: monthsRegex,
29
51
  monthsShortRegex: monthsRegex,
30
- monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
31
- monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
52
+ monthsStrictRegex:
53
+ /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
54
+ monthsShortStrictRegex:
55
+ /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
32
56
  monthsParse: monthsParse,
33
57
  longMonthsParse: monthsParse,
34
58
  shortMonthsParse: monthsParse,
35
- weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
36
- weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
37
- weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'),
38
- weekdaysParseExact : true,
39
- longDateFormat : {
40
- LT : 'h:mm A',
41
- LTS : 'h:mm:ss A',
42
- L : 'MM/DD/YYYY',
43
- LL : 'D [de] MMMM [de] YYYY',
44
- LLL : 'D [de] MMMM [de] YYYY h:mm A',
45
- LLLL : 'dddd, D [de] MMMM [de] YYYY h:mm A'
59
+ weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
60
+ weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
61
+ weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
62
+ weekdaysParseExact: true,
63
+ longDateFormat: {
64
+ LT: 'h:mm A',
65
+ LTS: 'h:mm:ss A',
66
+ L: 'MM/DD/YYYY',
67
+ LL: 'D [de] MMMM [de] YYYY',
68
+ LLL: 'D [de] MMMM [de] YYYY h:mm A',
69
+ LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',
46
70
  },
47
- calendar : {
48
- sameDay : function () {
49
- return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
71
+ calendar: {
72
+ sameDay: function () {
73
+ return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
50
74
  },
51
- nextDay : function () {
52
- return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
75
+ nextDay: function () {
76
+ return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
53
77
  },
54
- nextWeek : function () {
55
- return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
78
+ nextWeek: function () {
79
+ return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
56
80
  },
57
- lastDay : function () {
58
- return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
81
+ lastDay: function () {
82
+ return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
59
83
  },
60
- lastWeek : function () {
61
- return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
84
+ lastWeek: function () {
85
+ return (
86
+ '[el] dddd [pasado a la' +
87
+ (this.hours() !== 1 ? 's' : '') +
88
+ '] LT'
89
+ );
62
90
  },
63
- sameElse : 'L'
91
+ sameElse: 'L',
92
+ },
93
+ relativeTime: {
94
+ future: 'en %s',
95
+ past: 'hace %s',
96
+ s: 'unos segundos',
97
+ ss: '%d segundos',
98
+ m: 'un minuto',
99
+ mm: '%d minutos',
100
+ h: 'una hora',
101
+ hh: '%d horas',
102
+ d: 'un día',
103
+ dd: '%d días',
104
+ w: 'una semana',
105
+ ww: '%d semanas',
106
+ M: 'un mes',
107
+ MM: '%d meses',
108
+ y: 'un año',
109
+ yy: '%d años',
64
110
  },
65
- relativeTime : {
66
- future : 'en %s',
67
- past : 'hace %s',
68
- s : 'unos segundos',
69
- ss : '%d segundos',
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'
111
+ dayOfMonthOrdinalParse: /\d{1,2}º/,
112
+ ordinal: '%dº',
113
+ week: {
114
+ dow: 0, // Sunday is the first day of the week.
115
+ doy: 6, // The week that contains Jan 6th is the first week of the year.
80
116
  },
81
- dayOfMonthOrdinalParse : /\d{1,2}º/,
82
- ordinal : '%dº',
83
- week : {
84
- dow : 0, // Sunday is the first day of the week.
85
- doy : 6 // The week that contains Jan 6th is the first week of the year.
86
- }
87
117
  });
88
118
 
89
119
  return esUs;
@@ -1,4 +1,6 @@
1
1
  //! moment.js locale configuration
2
+ //! locale : Spanish [es]
3
+ //! author : Julio Napurí : https://github.com/julionc
2
4
 
3
5
  ;(function (global, factory) {
4
6
  typeof exports === 'object' && typeof module !== 'undefined'
@@ -7,16 +9,35 @@
7
9
  factory(global.moment)
8
10
  }(this, (function (moment) { 'use strict';
9
11
 
12
+ //! moment.js locale configuration
10
13
 
11
- var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
12
- monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
13
-
14
- var monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i];
15
- var monthsRegex = /^(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;
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;
16
35
 
17
36
  var es = moment.defineLocale('es', {
18
- months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
19
- monthsShort : function (m, format) {
37
+ months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
38
+ '_'
39
+ ),
40
+ monthsShort: function (m, format) {
20
41
  if (!m) {
21
42
  return monthsShortDot;
22
43
  } else if (/-MMM-/.test(format)) {
@@ -25,65 +46,74 @@
25
46
  return monthsShortDot[m.month()];
26
47
  }
27
48
  },
28
- monthsRegex : monthsRegex,
29
- monthsShortRegex : monthsRegex,
30
- monthsStrictRegex : /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
31
- monthsShortStrictRegex : /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
32
- monthsParse : monthsParse,
33
- longMonthsParse : monthsParse,
34
- shortMonthsParse : monthsParse,
35
- weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
36
- weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
37
- weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'),
38
- weekdaysParseExact : true,
39
- longDateFormat : {
40
- LT : 'H:mm',
41
- LTS : 'H:mm:ss',
42
- L : 'DD/MM/YYYY',
43
- LL : 'D [de] MMMM [de] YYYY',
44
- LLL : 'D [de] MMMM [de] YYYY H:mm',
45
- LLLL : 'dddd, D [de] MMMM [de] YYYY H:mm'
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',
46
69
  },
47
- calendar : {
48
- sameDay : function () {
49
- return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
70
+ calendar: {
71
+ sameDay: function () {
72
+ return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
50
73
  },
51
- nextDay : function () {
52
- return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
74
+ nextDay: function () {
75
+ return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
53
76
  },
54
- nextWeek : function () {
55
- return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
77
+ nextWeek: function () {
78
+ return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
56
79
  },
57
- lastDay : function () {
58
- return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
80
+ lastDay: function () {
81
+ return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
59
82
  },
60
- lastWeek : function () {
61
- return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
83
+ lastWeek: function () {
84
+ return (
85
+ '[el] dddd [pasado a la' +
86
+ (this.hours() !== 1 ? 's' : '') +
87
+ '] LT'
88
+ );
62
89
  },
63
- sameElse : 'L'
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',
64
109
  },
65
- relativeTime : {
66
- future : 'en %s',
67
- past : 'hace %s',
68
- s : 'unos segundos',
69
- ss : '%d segundos',
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'
110
+ dayOfMonthOrdinalParse: /\d{1,2}º/,
111
+ ordinal: '%dº',
112
+ week: {
113
+ dow: 1, // Monday is the first day of the week.
114
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
80
115
  },
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
- }
116
+ invalidDate: 'Fecha inválida',
87
117
  });
88
118
 
89
119
  return es;