UNPKG

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