mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 16:37:02 +03:00
Move almost all libs to node_modules
Update libs
This commit is contained in:
parent
b895c6ac1a
commit
c3985da102
374 changed files with 17466 additions and 83393 deletions
|
|
@ -40,7 +40,7 @@ export function momentNowUnix()
|
|||
*/
|
||||
export function searchSubtractFormatDateHelper(date)
|
||||
{
|
||||
return momentNow().clone().subtract('days', date).format('YYYY.MM.DD');
|
||||
return momentNow().clone().subtract(date, 'days').format('YYYY.MM.DD');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -60,7 +60,7 @@ function formatCustomShortDate(m)
|
|||
return i18n('MESSAGE_LIST/TODAY_AT', {
|
||||
TIME: m.format('LT')
|
||||
});
|
||||
case now.clone().subtract('days', 1).format('L') === m.format('L'):
|
||||
case now.clone().subtract(1, 'days').format('L') === m.format('L'):
|
||||
return i18n('MESSAGE_LIST/YESTERDAY_AT', {
|
||||
TIME: m.format('LT')
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue