UNPKG

1.09 kBJavaScriptView Raw
1// Spanish (United States) [es-us]
2import dayjs from '../index';
3var locale = {
4 name: 'es-us',
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 A',
30 LTS: 'h:mm:ss A',
31 L: 'MM/DD/YYYY',
32 LL: 'D [de] MMMM [de] YYYY',
33 LLL: 'D [de] MMMM [de] YYYY h:mm A',
34 LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A'
35 }
36};
37dayjs.locale(locale, null, true);
38export default locale;
\No newline at end of file