Skip to content

Commit

Permalink
use getTime() for firefox browser support
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdoron authored and James Halliday committed Sep 24, 2013
1 parent 85e1b23 commit ee928ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ function copy (src) {
dst = [];
}
else if (isDate(src)) {
dst = new Date(src);
dst = new Date(src.getTime());
}
else if (isRegExp(src)) {
dst = new RegExp(src);
Expand Down

0 comments on commit ee928ca

Please sign in to comment.