date format correction