| 161 | const dt = { | 161 | const dt = { |
| 162 | year: now.getFullYear(), month: now.getMonth() + 1, day: now.getDate(), | 162 | year: now.getFullYear(), month: now.getMonth() + 1, day: now.getDate(), |
| 163 | hour: now.getHours(), minute: now.getMinutes(), second: now.getSeconds(), | 163 | hour: now.getHours(), minute: now.getMinutes(), second: now.getSeconds(), |
| 164 | } | 164 | }; |
| 165 | for (const key in dt) { | 165 | for (const key in dt) { |
| 166 | dt[key] = dt[key].toString().padStart(2, '0'); | 166 | dt[key] = dt[key].toString().padStart(2, '0'); |
| 167 | } | 167 | } |