corrade-nucleus-nucleons – Blame information for rev 38
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
38 | office | 1 | //! moment.js locale configuration |
2 | //! locale : Spanish (Dominican Republic) [es-do] |
||
3 | |||
4 | import moment from '../moment'; |
||
5 | |||
6 | var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'), |
||
7 | monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); |
||
8 | |||
9 | export default moment.defineLocale('es-do', { |
||
10 | months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), |
||
11 | monthsShort : function (m, format) { |
||
12 | if (!m) { |
||
13 | return monthsShortDot; |
||
14 | } else if (/-MMM-/.test(format)) { |
||
15 | return monthsShort[m.month()]; |
||
16 | } else { |
||
17 | return monthsShortDot[m.month()]; |
||
18 | } |
||
19 | }, |
||
20 | monthsParseExact : true, |
||
21 | weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), |
||
22 | weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), |
||
23 | weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'), |
||
24 | weekdaysParseExact : true, |
||
25 | longDateFormat : { |
||
26 | LT : 'h:mm A', |
||
27 | LTS : 'h:mm:ss A', |
||
28 | L : 'DD/MM/YYYY', |
||
29 | LL : 'D [de] MMMM [de] YYYY', |
||
30 | LLL : 'D [de] MMMM [de] YYYY h:mm A', |
||
31 | LLLL : 'dddd, D [de] MMMM [de] YYYY h:mm A' |
||
32 | }, |
||
33 | calendar : { |
||
34 | sameDay : function () { |
||
35 | return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; |
||
36 | }, |
||
37 | nextDay : function () { |
||
38 | return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; |
||
39 | }, |
||
40 | nextWeek : function () { |
||
41 | return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; |
||
42 | }, |
||
43 | lastDay : function () { |
||
44 | return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; |
||
45 | }, |
||
46 | lastWeek : function () { |
||
47 | return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; |
||
48 | }, |
||
49 | sameElse : 'L' |
||
50 | }, |
||
51 | relativeTime : { |
||
52 | future : 'en %s', |
||
53 | past : 'hace %s', |
||
54 | s : 'unos segundos', |
||
55 | m : 'un minuto', |
||
56 | mm : '%d minutos', |
||
57 | h : 'una hora', |
||
58 | hh : '%d horas', |
||
59 | d : 'un día', |
||
60 | dd : '%d días', |
||
61 | M : 'un mes', |
||
62 | MM : '%d meses', |
||
63 | y : 'un año', |
||
64 | yy : '%d años' |
||
65 | }, |
||
66 | dayOfMonthOrdinalParse : /\d{1,2}º/, |
||
67 | ordinal : '%dº', |
||
68 | week : { |
||
69 | dow : 1, // Monday is the first day of the week. |
||
70 | doy : 4 // The week that contains Jan 4th is the first week of the year. |
||
71 | } |
||
72 | }); |
||
73 |