优化
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
function TimeFormatting(timestamp) {
|
||||
const date = new Date(timestamp * 1e3);
|
||||
const date = new Date(timestamp);
|
||||
date.getFullYear();
|
||||
const month = String(date.getMonth() + 1).padStart(2, "0");
|
||||
const day = String(date.getDate()).padStart(2, "0");
|
||||
|
||||
Reference in New Issue
Block a user