mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Rename moment to time as it has nothing todo anymore with momentjs
Change some observables to static as they never change later
This commit is contained in:
parent
673126ae8a
commit
2084913a4d
7 changed files with 65 additions and 65 deletions
|
|
@ -144,7 +144,7 @@ export const
|
|||
time = Date.parse(element.dateTime) / 1000;
|
||||
}
|
||||
|
||||
let key = element.dataset.momentFormat;
|
||||
let key = element.dataset.timeFormat;
|
||||
if (key) {
|
||||
element.textContent = timestampToString(time, key);
|
||||
if ('FULL' !== key && 'FROMNOW' !== key) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue