Skip to content

Commit

Permalink
ff/ie bug where new Date(date) loses millis
Browse files Browse the repository at this point in the history
  • Loading branch information
selfcontained committed May 10, 2013
1 parent b4154ce commit c157f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/deap.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function clone(val) {
case 'array':
return val.map(clone);
case 'date':
return new Date(val);
return new Date(val.getTime());
case 'regexp':
return new RegExp(val);
default:
Expand Down

0 comments on commit c157f0c

Please sign in to comment.