Remove : from date format for $ignoreMidnight

(int)'00:30:00' = 0 whereas (int)'003000' != 0