aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Angular.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Angular.js b/src/Angular.js
index 65610869..87c10e23 100644
--- a/src/Angular.js
+++ b/src/Angular.js
@@ -671,6 +671,8 @@ function equals(o1, o2) {
}
return true;
}
+ } else if (isDate(o1)) {
+ return isDate(o2) && o1.getTime() == o2.getTime();
} else {
if (isScope(o1) || isScope(o2) || isWindow(o1) || isWindow(o2)) return false;
keySet = {};