This commit is contained in:
2022-01-30 18:32:24 +08:00
parent 50cb518620
commit 27023a6585
2 changed files with 11 additions and 4 deletions

View File

@@ -8,7 +8,8 @@ const filterHash = (str, num) => {
return String(str).substr(0, length) + '...' + String(str).substr(-4)
}
const timeCustomCN = (val) => {
export const timeCustomCN = (val) => {
console.log(val);
val = timeStamp(val, 'Y-m-d H:i:s')
let currentDate = new Date();
let currentD = currentDate.getDate();