mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
v2.25.1
This commit is contained in:
parent
e23e0138a9
commit
c21817e5e0
10 changed files with 52 additions and 22 deletions
|
|
@ -47,6 +47,7 @@ export const
|
|||
let rtf = new Intl.RelativeTimeFormat(doc.documentElement.lang);
|
||||
return rtf.format(seconds, unit);
|
||||
}
|
||||
// Safari < 14
|
||||
abs = Math.abs(seconds);
|
||||
let rtf = rl.relativeTime.long[unit][0 > seconds ? 'past' : 'future'],
|
||||
plural = rl.relativeTime.plural(abs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue