Commit 44574bc3 authored by Nathan Rajlich's avatar Nathan Rajlich Committed by Ben Noordhuis
Browse files

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.
parent 2b0a7d63
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment