Skip to content

Commit

Permalink
Make UI show local time
Browse files Browse the repository at this point in the history
Sessionize stores time in UTC - we want to show time as it really is
  • Loading branch information
Sara Gowen committed Apr 26, 2024
1 parent b7622a2 commit eca1946
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ public static IImmutableList<TimeSlot> ToHomeStateModel(this EventDataResponseDT
eventData.TimeSlots.Select(ts => new TimeSlot
{
Id = ts.Id,
From = ts.From,
To = ts.To,
From = ts.From.LocalDateTime,
To = ts.To.LocalDateTime,
Info = ts.Info,
Sessions = eventData.Sessions
.Where(s => s.TimeSlotId == ts.Id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ state with
Detail = action.Session.FullDescription,
SpeakerName = action.Session.Speaker,

From = action.TimeSlot.From,
To = action.TimeSlot.To,
From = action.TimeSlot.From.LocalDateTime,
To = action.TimeSlot.To.LocalDateTime,

TrackName = action.Track.Name,
RoomName = action.Track.RoomName,
Expand Down

0 comments on commit eca1946

Please sign in to comment.