Skip to content

Commit

Permalink
Fix end time for last day of current event.
Browse files Browse the repository at this point in the history
  • Loading branch information
muthenberg committed May 7, 2024
1 parent b4c57b2 commit 15873ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions RFR-App/RFR/Voucher/Events.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ func createEvents() -> [ClosedRange<Date>] {
end.month = 5
end.day = 31
end.timeZone = TimeZone(abbreviation: "CEST")
end.hour = 0
end.minute = 0
end.hour = 23
end.minute = 59
end.second = 59

return [Calendar.current.date(from: start)!...Calendar.current.date(from: end)!]
}
Expand Down

0 comments on commit 15873ad

Please sign in to comment.