SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 179 JavaScript

test(ngMock): workaround issue with negative timestamps

In some specific timezones and operating systems, it seems that
getTimezoneOffset() can return an incorrect value for negative timestamps, as
described in #5017. While this isn't something easily fixed in the mock code,
the tests can avoid that particular timeframe by using a positive timestamp.

Closes #5017
Closes #6730
B
Brett Porter committed
d4ac25496aaace2b85aa9f5e5232e5eabeb40c63
Parent: e84da22
Committed by Igor Minar <igor@angularjs.org> on 3/19/2014, 4:31:20 AM