lshift/diffa — pull request #78 by paulj (2012-03-23 17:41:33+00:00)
Title: The Z modifier in format strings doesn't cause timezone conversion.

When in timezones that aren't UTC, the time range requested is inaccurate. In timezones past UTC, this results in blobs appearing further back in the heatmap, and in timezones behind UTC, it results in them not showing at all.

This patch changes the toString to use toISOString. Unfortunately, the datajs version of ISO and the Joda version of ISO are different, so we reformat the returned string to remove some formatting characters.