forked from MarseyWorld/MarseyWorld
shorter month names per carp
parent
f4ee979fa1
commit
0c9c7ef7d4
|
@ -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()}`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue