mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 06:57:12 +01:00
endDate is exclusive for allday events
This commit is contained in:
@@ -80,3 +80,7 @@ export function nowInTz(timezone = 'Europe/Berlin'): Date {
|
||||
const now = new Date()
|
||||
return utcToZonedTime(now, timezone)
|
||||
}
|
||||
|
||||
export function getNextDay(date: Date) {
|
||||
return addDays(date, 1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user