UNPKG

1.07 kBJavaScriptView Raw
1// Spanish (Mexico) [es-mx]
2import dayjs from '../index';
3var locale = {
4 name: 'es-mx',
5 weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
6 weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
7 weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
8 months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
9 monthsShort: 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
10 relativeTime: {
11 future: 'en %s',
12 past: 'hace %s',
13 s: 'unos segundos',
14 m: 'un minuto',
15 mm: '%d minutos',
16 h: 'una hora',
17 hh: '%d horas',
18 d: 'un día',
19 dd: '%d días',
20 M: 'un mes',
21 MM: '%d meses',
22 y: 'un año',
23 yy: '%d años'
24 },
25 ordinal: function ordinal(n) {
26 return n + "\xBA";
27 },
28 formats: {
29 LT: 'H:mm',
30 LTS: 'H:mm:ss',
31 L: 'DD/MM/YYYY',
32 LL: 'D [de] MMMM [de] YYYY',
33 LLL: 'D [de] MMMM [de] YYYY H:mm',
34 LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm'
35 }
36};
37dayjs.locale(locale, null, true);
38export default locale;
\No newline at end of file