Changed date to use ISOString