Date format correction