Fixed bug in date time inconsistent formats