Skip to content

Commit 3d6a6be

Browse files
authored
fix eventEnd format in UpcomingEventCard (#153)
1 parent 7675438 commit 3d6a6be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

App/Presentation/Views/Account/User/ResourceSection/Booking/Events/UpcomingEventCardButton.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ struct UpcomingEventCardButton: View {
2424
.font(.system(size: 15))
2525
.foregroundColor(.onSurface.opacity(0.7))
2626
if let eventDate = event.eventStart.toDate(),
27-
let eventEnd = event.eventEnd.toDate(),
27+
let eventEnd = event.eventEnd.convertToHoursAndMinutes(),
2828
let eventStart = event.eventStart.convertToHoursAndMinutes()
2929
{
3030
Text(String(format: NSLocalizedString("%@, from %@ to %@", comment: ""), eventDate, eventStart, eventEnd))

0 commit comments

Comments
 (0)