mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 09:27:03 +03:00
Interface optimizations
moment js update
This commit is contained in:
parent
be8c186f87
commit
f36cb72b82
104 changed files with 5869 additions and 1180 deletions
|
|
@ -11,18 +11,27 @@
|
|||
factory(window.moment); // Browser global
|
||||
}
|
||||
}(function (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("_");
|
||||
|
||||
return moment.lang('es', {
|
||||
months : "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),
|
||||
monthsShort : "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),
|
||||
monthsShort : function (m, format) {
|
||||
if (/-MMM-/.test(format)) {
|
||||
return monthsShort[m.month()];
|
||||
} else {
|
||||
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("_"),
|
||||
weekdaysMin : "Do_Lu_Ma_Mi_Ju_Vi_Sá".split("_"),
|
||||
longDateFormat : {
|
||||
LT : "H:mm",
|
||||
L : "DD/MM/YYYY",
|
||||
LL : "D [de] MMMM [de] YYYY",
|
||||
LLL : "D [de] MMMM [de] YYYY LT",
|
||||
LLLL : "dddd, D [de] MMMM [de] YYYY LT"
|
||||
LL : "D [de] MMMM [del] YYYY",
|
||||
LLL : "D [de] MMMM [del] YYYY LT",
|
||||
LLLL : "dddd, D [de] MMMM [del] YYYY LT"
|
||||
},
|
||||
calendar : {
|
||||
sameDay : function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue