Integrated new time handling system
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
export function toDateTime(date: Date): string {
|
||||
console.log(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");
|
||||
|
||||
Reference in New Issue
Block a user