Corrected date format in Python script