End Date Being Displayed Wrong on Calendar Widget

The End date is being Wrongly displayed on calendar widget. The date range highlighted is less than 1 day . for example The end date selected was 31-May-2019 but the calendar days selected is only till 30-May-2019. have kept the date settings as localised. can i know how do i correct this ? do we have some settings to correct this ? The Database for calendar Context shows the correct End date. however it displays 1 day less in calendar. Thanks in advance
1 answers

If time is not import you should not localize the date but keep all in UTC. The only way to fix this is by creating a microflow where you convert the localized field (stored as UTC hence the dayshift) back to a non localized field.