Change date formatting from just str() to isodate()

Allows for better browser compatibility.  Specifically, Firefox on OSX and Iceweasel on Debian don't render timeline plots properly without this change, because Firefox doesn't parse dates the same way.  This ISO formatting parses more reliably.  Kudos to @magistere for the fix.