From 0c9c7ef7d4aa7373b7bca7b68f0a8f0579e02b16 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 18 Nov 2024 17:56:22 +0200 Subject: [PATCH] shorter month names per carp --- files/assets/js/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/assets/js/core.js b/files/assets/js/core.js index dac49fa35..f3ed9a85f 100644 --- a/files/assets/js/core.js +++ b/files/assets/js/core.js @@ -227,7 +227,7 @@ function showmore(t) { } function formatDate(d) { - const months = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"] + const months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"] const month = months[d.getMonth()] return `${month} ${d.getDate()}, ${d.getFullYear()}` }