This commit is contained in:
唐明明
2022-01-30 18:37:53 +08:00
2 changed files with 8 additions and 2 deletions

View File

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