parent
4bdbf2a598
commit
07b85f19ec
@ -0,0 +1,10 @@
|
||||
"use strict";
|
||||
|
||||
Array.from(document.getElementsByClassName("relative-timestamp")).forEach(
|
||||
function (timestamp) {
|
||||
timestamp.innerText = new Intl.DateTimeFormat(undefined, {
|
||||
dateStyle: "long",
|
||||
timeStyle: "short",
|
||||
}).format(new Date(timestamp.dateTime));
|
||||
}
|
||||
);
|
Loading…
Reference in new issue