Fixed a date format in a test