Fixed bug in date format.