Calendar lists do not have an all-day event option in the modern experience.
If you migrate from a classic calendar list to a modern site with the new experience, these items will be displayed with unexpected time values.
To circumvent this limitation, you can use the classic experience for your list at the destination.