]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
adjust nomenclature (es)
authorRaphael Amorim <rapha850@gmail.com>
Thu, 16 Apr 2015 03:13:31 +0000 (00:13 -0300)
committerIskren Chernev <iskren.chernev@gmail.com>
Mon, 4 May 2015 04:12:24 +0000 (21:12 -0700)
src/locale/es.js

index bcad048185add61601cd5987f252e6932c016514..c9ea1f5e074f00930f58af6e5510736fe2dc557b 100644 (file)
@@ -4,11 +4,11 @@
 
 import moment from '../moment';
 
-var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
-    monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
+var monthsShortDot = 'Ene._Feb._Mar._Abr._May._Jun._Jul._Ago._Sep._Oct._Nov._Dic.'.split('_'),
+    monthsShort = 'Ene_Feb_Mar_Abr_May_Jun_Jul_Ago_Sep_Oct_Nov_Dic'.split('_');
 
 export default moment.defineLocale('es', {
-    months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
+    months : 'Enero_Febrero_Marzo_Abril_Mayo_Junio_Julio_Agosto_Septiembre_Octubre_Noviembre_Diciembre'.split('_'),
     monthsShort : function (m, format) {
         if (/-MMM-/.test(format)) {
             return monthsShort[m.month()];
@@ -16,8 +16,8 @@ export default moment.defineLocale('es', {
             return monthsShortDot[m.month()];
         }
     },
-    weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
-    weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
+    weekdays : 'Domingo_Lunes_Martes_Miércoles_Jueves_Viernes_Sábado'.split('_'),
+    weekdaysShort : 'Dom._Lun._Mar._Mié._Jue._Vie._Sáb.'.split('_'),
     weekdaysMin : 'Do_Lu_Ma_Mi_Ju_Vi_Sá'.split('_'),
     longDateFormat : {
         LT : 'H:mm',