mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
browse: Correct 'modified' date alignment (#1954)
* Correct browse modified date alignment * New solution to adjust alignment
This commit is contained in:
parent
c296d7e7e0
commit
d35719daed
1 changed files with 1 additions and 1 deletions
|
@ -499,7 +499,7 @@ footer {
|
|||
return;
|
||||
}
|
||||
}
|
||||
e.textContent = d.toLocaleString();
|
||||
e.textContent = d.toLocaleString([], {day: "2-digit", month: "2-digit", year: "numeric", hour: "2-digit", minute: "2-digit", second: "2-digit"});
|
||||
}
|
||||
var timeList = Array.prototype.slice.call(document.getElementsByTagName("time"));
|
||||
timeList.forEach(localizeDatetime);
|
||||
|
|
Loading…
Reference in a new issue