Fixed a bug in the getDateFromIsoDateString method