mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 22:17: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
|
|
@ -999,6 +999,7 @@ Utils.createMomentDate = function (oObject)
|
|||
Utils.createMomentShortDate = function (oObject)
|
||||
{
|
||||
return ko.computed(function () {
|
||||
|
||||
var
|
||||
sResult = '',
|
||||
oMomentNow = moment(),
|
||||
|
|
@ -1022,7 +1023,6 @@ Utils.createMomentShortDate = function (oObject)
|
|||
'TIME': oMoment.format('LT')
|
||||
});
|
||||
}
|
||||
|
||||
else if (oMomentNow.year() === oMoment.year())
|
||||
{
|
||||
sResult = oMoment.format('D MMM.');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue