- Added customization options through env variables
UTCDATE_NO_OVERWRITE
: When set to any value, does not automatically overwrite theDate
object with theUTCDate
one. (Defaults to overwriting if not set)UTCDATE_PATCH_CONSOLE
: When set to any value, will patch the console methods to make the logged dates from utc-date match how native dates are logged. (Defaults to not patching when not set)UTCDATE_PATCH_INSPECT
: When set to any value, will patch theutil.inspect
method to make the returned values for dates from utc-date match the return values of native dates. (Defaults to not patching when not set)
- Implemented fixes for inconsistent console logging compared to the native Date object.
- Optimized some chunks of the code.
- Completed tests.
- No user-side changes, only repository / npm optimizations and fixes.
- No user-side changes, only repository optimizations.
- More code cleanup and optimizations.
- Fixed all the date objects' instances not returning
true
when matched againstDate
withinstanceof
. - Fixed
Date.parse()
not being UTC.
- Obsolete version, skip.
- Code cleanup.
- Fixed bug where some month numbers weren't properly converted to the month names.
- Initial release.