Agenda past events

I would like the agenda to display a full day of event even if the time of the event has passed. I thought that by changing the Time period for Agenda and Map views (in days) to 2 would show two days of events but it doesn’t. as soon as an event is over I can no longer see it in agenda but I can in day, week, month, week agenda.

Is there something I’m doing wrong or something I can change to allow all the events of the day to be viewable in agenda?

I wouldn’t mind going into the file and changing the setting if needed but I don’t know which file houses the agenda settings.