fix getMidnightDate() also use on eventDate in getNavigationDetails()