Commit d35719da authored by magikstm's avatar magikstm Committed by Matt Holt

browse: Correct 'modified' date alignment (#1954)

* Correct browse modified date alignment

* New solution to adjust alignment
parent c296d7e7
......@@ -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);
......
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