remove formatting
This commit is contained in:
@@ -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")) ||
|
||||||
|
|||||||
Reference in New Issue
Block a user