aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/angular-mocks.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/angular-mocks.js b/src/angular-mocks.js
index 0a8b573b..625dcf44 100644
--- a/src/angular-mocks.js
+++ b/src/angular-mocks.js
@@ -491,7 +491,7 @@ angular.mock.TzDate = function (offset, timestamp) {
};
self.getDay = function() {
- return self.origDate.getDay();
+ return self.date.getDay();
};
//hide all methods not implemented in this mock that the Date prototype exposes