- Polyfills for Date.prototype.toJSON and Date.now.
- API changed to match ECMAScript 5.1 ISO 8601 support for the
Date object.
Date.prototype.toISO8601UTCString
is nowDate.prototype.toISOString
.- Removed
Date.prototype.toISO8601LocaleString
. Similar formatting is available by passing true for localTimezone toDate.prototype.toISO8601String
.
- ISO 8601 UTC formatting falls back to native support if available. Performance improvement on modern browsers for common usages.
- Stricter browser test for native ISO 8601 parsing. Ensures timezone offsets are correctly handled. Fixes Firefox issues.
- Unit tests. Suite runs via node or browser harness.
- First release. Extracted from the Do web client, based on Paul Gallagher's rfc3339date.js library.