web: 移除Safari<14.5兼容处理

This commit is contained in:
Xwite
2023-05-13 11:33:31 +08:00
parent 3e873f23e7
commit 4529f23f78
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);