stephanebisson/angular.js — comment on commit 6e63a32ee5c606fa778333bd02de4946b627e90a
File:  line 0
By stephanebisson:

I forked and cloned the repo and then tried to run the tests. I got 2 failures:
"filters date.should accept various format strings failed (3.00 ms): Error: Expected 'Sat, Sep 3, 2010' to equal 'Fri, Sep 3, 2010'"
and
"filters date.should accept default formats failed (2.00 ms): Error: Expected 'Saturday, September 3, 2010' to equal 'Friday, September 3, 2010'"

My local timezone is +8 (Beijing). I set my timezone to -8 (PST) and it solved it. I figured the getDay function was using my browser's timezone instead of the specified offset.