Reload page

This commit is contained in:
2021-12-20 11:02:34 -06:00
parent 6c3065d2a8
commit acefe66f8e
2 changed files with 9 additions and 5 deletions

View File

@@ -49,9 +49,9 @@
}
var day = parseInt(date_strings[1])
var year = d.getFullYear()
if (month === 12 && d.getMonth() !== month) {
year += 1
}
// if (month === 12 && d.getMonth() !== month) {
// year += 1
// }
var hours = parseInt(date_strings[3].split(":")[0])
if (hours < 12 && date_strings[4] === "PM") {
hours += 12