show seconds for the "Last Modified"

pull/622/head
bingoohuang 2025-08-27 08:33:28 +08:00
parent 4016715187
commit 5143277783
1 changed files with 2 additions and 1 deletions

View File

@ -906,7 +906,8 @@ function formatMtime(mtime) {
const day = padZero(date.getDate(), 2);
const hours = padZero(date.getHours(), 2);
const minutes = padZero(date.getMinutes(), 2);
return `${year}-${month}-${day} ${hours}:${minutes}`;
const seconds = padZero(date.getSeconds(), 2);
return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
}
function padZero(value, size) {