Revert "Fixing an issue with recurring reservations made in DST to non-DST"
This reverts commit a6f0e76fe7.
This commit is contained in:
parent
cc50f61320
commit
5b16501708
1 changed files with 0 additions and 2 deletions
|
|
@ -44,13 +44,11 @@ export class RecurringReservation {
|
|||
const [hourStart, minuteStart] = this.timeStart.split(':')
|
||||
const [hourEnd, minuteEnd] = this.timeEnd.split(':')
|
||||
const dateRangeStart = dayjs()
|
||||
.local()
|
||||
.set('day', this.dayOfWeek)
|
||||
.set('hour', Number.parseInt(hourStart))
|
||||
.set('minute', Number.parseInt(minuteStart))
|
||||
.add(daysInAdvance, 'days')
|
||||
const dateRangeEnd = dayjs()
|
||||
.local()
|
||||
.set('day', this.dayOfWeek)
|
||||
.set('hour', Number.parseInt(hourEnd))
|
||||
.set('minute', Number.parseInt(minuteEnd))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue