unclechu / node-deep-extend

Recursive extend module
MIT License
202 stars 53 forks source link

dates are ignored #8

Closed kaore closed 10 years ago

kaore commented 10 years ago

Hi, I have an issue when doing the following:

var deepExtend = require('deep-extend'),

var obj = { d: new Date() };

deepExtend({}, obj); // gives { d: {} }

unclechu commented 10 years ago

Thanks for reporting! Fixed by release: https://github.com/unclechu/node-deep-extend/tree/v0.2.11