Hello!
I guess this issue is the same as in “Wrong Reservation Date in Reservation List and Notification mail”.
The problem:
Reservation list shows dates the day before actually the booking was made for.
F.ex. Bookings made on 01.02.2020 (86), 09.02.2020 (88), 01.03.2020 (89). And calendar shows them fine https://i.imgur.com/NS0eJ6d.png as database too https://i.imgur.com/WTYl3Ce.png (89).
But reservation list shows as 31.01.2020 (86), 08.02.2020 (88), 29.02.2020 (89). https://i.imgur.com/3qrTGy0.png
Possible solution:
You used “date_i18n” function which requires second parameter to be a timestamp. But it has to be a timestamp and timezone offset in seconds. Our website timezone is “Oslo” which is +0100. The date from database 2020-03-01 results in timestamp for 2020-03-01 00:00:00. But “timestamp and timezone offset in seconds” for 2020-03-01 00:00:00 in Oslo is 2020-03-01 01:00:00 in GMT.
Currently we fix it by calculating and adding GMT offset to date_i18n() timestamp parameter. Or just using default date() in place of date_i18n() in Reservations.php several places https://i.imgur.com/y9FxcH1.png , https://i.imgur.com/HU8yxoB.png . Then reservation list shows correct dates. https://i.imgur.com/WMcy6le.png
Thank you!