Change date formatting from just str() to isodate(), for better browser compatibility