extends a date object itself

extends a date object itself

I tried to copy a date object but failed.

var 
today new Date();
var clonedToday $.extend(true{}today);

console.log('test1:' today);
console.log('test1:' clonedToday);
//clonedToday is [object Object].






but when I tried to copy an object contains a date object, it worked.

I know there was a problem with copying date objects with extend with jQuery 1.3 or lower
but it fixed in jQuery 1.4 or higher.

the following code works fine with jQuery 1.4 or higher. 

var today2 {
    todaynew Date()
}
var clonedToday2 $.extend(true{}today2);

console.log('test2:' today2.today);
console.log('test2:' clonedToday2.today);






is there still a problem with a date object and .extend() or some other reasons?

you could test the code in http://jsfiddle.net/NtQs3/6/