update schedule

This commit is contained in:
2024-12-16 20:00:11 +07:00
parent b61e4dfc73
commit 6b0b95bb32
3 changed files with 80 additions and 54 deletions

View File

@@ -142,4 +142,8 @@ export class DateTimeUtils {
}
return DateTime.now().minus({ days })
}
static withoutTime(dateTime: DateTime): DateTime {
return dateTime.set({ hour: 0, minute: 0, second: 0, millisecond: 0 })
}
}