Use built-in Date#tojson.
Use substring instead of RegExp.

For performance.
Merge pull request #68 from diversario/isodate-format

Use built-in Date#tojson.