Fixed the date format issue in the constructor