remove formatting

This commit is contained in:
2023-02-27 23:01:06 +10:00
parent db7ee08937
commit 30b487e48c

View File

@@ -173,15 +173,15 @@ const handleLoad = async () => {
// utc: true, // utc: true,
// }); // });
item.start_at = new SMDate(item.start_at, { // item.start_at = new SMDate(item.start_at, {
format: "yyyy-MM-dd HH:mm:ss", // format: "yyyy-MM-dd HH:mm:ss",
utc: true, // utc: true,
}).format("yyyy-MM-dd HH:mm:ss"); // }).format("yyyy-MM-dd HH:mm:ss");
item.end_at = new SMDate(item.end_at, { // item.end_at = new SMDate(item.end_at, {
format: "yyyy-MM-dd HH:mm:ss", // format: "yyyy-MM-dd HH:mm:ss",
utc: true, // utc: true,
}).format("yyyy-MM-dd HH:mm:ss"); // }).format("yyyy-MM-dd HH:mm:ss");
// if ( // if (
// parsedEndAt.isBefore(new SMDate("now")) || // parsedEndAt.isBefore(new SMDate("now")) ||