dynjs/dynjs — pull request #133 by malaporte (2014-08-26 09:56:27+00:00)
Title: Fix JSON.stringify not working for dates

The code for ToJSON didn't use the proper object when resolving the toISOString method. This caused stringify to fail on date values.

Also, while writing a test I noticed that the Date.utc function wrongly applied an offset based on the current timezone, so I fixed thta too. The value I'm checking against in tests is the one returned by Node, Chrome and Firefox.