This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util: improve util.isDate() function
The old implementation was fragile. i.e. node-time is an example of a user-land module that exports an extended Date object (with a few added functions on it's own Date object's prototype). In that case, the old check fails.
- Loading branch information