FIX: removes time from date in calendar range at midnight (PR #10751)

GitHub