Bug with incorrect date format