LOA-Upgrades #64

Merged
Ajdj100 merged 15 commits from LOA-Upgrades into main 2025-12-11 19:50:15 -06:00
Showing only changes of commit 9d217aafaf - Show all commits

View File

@@ -1,5 +1,8 @@
export function toDateTime(date: Date): string {
console.log(date);
if (typeof date === 'string') {
date = new Date(date);
}
// This produces a CST-local time because server runs in CST
const year = date.getFullYear();
const month = (date.getMonth() + 1).toString().padStart(2, "0");