Commit 6a51eba6 authored by 15011343103's avatar 15011343103

feat

parent 57ca58cf
...@@ -2273,7 +2273,6 @@ new Vue({ ...@@ -2273,7 +2273,6 @@ new Vue({
formatTimestamp(timestamp) { formatTimestamp(timestamp) {
if (!timestamp) return ''; if (!timestamp) return '';
const date = new Date(timestamp); const date = new Date(timestamp);
console.log(date);
const year = date.getFullYear(); const year = date.getFullYear();
const month = String(date.getMonth() + 1).padStart(2, '0'); const month = String(date.getMonth() + 1).padStart(2, '0');
const day = String(date.getDate()).padStart(2, '0'); const day = String(date.getDate()).padStart(2, '0');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment