chore: Use en-EN for comments

This commit is contained in:
daudix-UFO
2023-10-28 18:58:13 +03:00
parent d39b7f5630
commit 13cd684349
2 changed files with 186 additions and 3 deletions

View File

@ -169,7 +169,7 @@ which were inspired by https://codeberg.org/jwildeboer/jwildeboersource/src/comm
permalink.setAttribute("itemprop", "url");
permalink.setAttribute("title", `View comment at ${ instance }`);
permalink.setAttribute("rel", "external nofollow");
permalink.textContent = new Date(status.created_at).toLocaleString('en-GB', {
permalink.textContent = new Date(status.created_at).toLocaleString('en-IE', {
dateStyle: "long",
timeStyle: "short",
});
@ -182,7 +182,7 @@ which were inspired by https://codeberg.org/jwildeboer/jwildeboersource/src/comm
timestamp.classList.add("edited");
timestamp.setAttribute(
"title",
"Edited " + new Date(status.edited_at).toLocaleString('en-GB', {
"Edited " + new Date(status.edited_at).toLocaleString('en-IE', {
dateStyle: "long",
timeStyle: "short",
})