mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
cleanup unused js parameters
This commit is contained in:
parent
ed673fdba8
commit
3988ea9ba5
3 changed files with 5 additions and 7 deletions
|
|
@ -45,8 +45,7 @@ export const
|
|||
}
|
||||
}
|
||||
if (Intl.RelativeTimeFormat) {
|
||||
let rtf = new Intl.RelativeTimeFormat(doc.documentElement.lang);
|
||||
return rtf.format(seconds, unit);
|
||||
return (new Intl.RelativeTimeFormat(doc.documentElement.lang)).format(seconds, unit);
|
||||
}
|
||||
// Safari < 14
|
||||
abs = Math.abs(seconds);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue