web: 移除Safari<14.5兼容处理

This commit is contained in:
Xwite
2023-05-13 11:33:31 +08:00
parent 31e10b3010
commit 478a50f0eb
4 changed files with 21 additions and 19 deletions
-1
View File
@@ -22,7 +22,6 @@ export function getImageFromLegado(src) {
);
}
// @ts-ignore
export const dateFormat = (/** @type {number} */ t) => {
let time = new Date().getTime();
let offset = Math.floor((time - t) / 1000);