Made a mistake with parsing a date