Ensure date format is valid for DateTime();
Second pass at outputting the entry details in a JSON formatted HTNL data attribute.