I assume this issue for wrong date display should be related to the Time Zone settings, as SharePoint stores the Date in UTC Time Zone, so if the real value maybe less or more a day from the right value.
Here is a blog explain the reason for the issue:
sharepoint-time-is-not-your-time-is-not-their-time
The solution is using Moment.js to covert UTC to Local Time based on Time Zone, please check out the thread below:
How to convert SharePoint Date-Only field from UTC to local time zone
If the response is helpful, please click "Accept Answer" and upvote it.