baconjs/bacon.js — pull request #423 by laser (2014-09-08 17:31:20+00:00)
Title: BUG: toString Date-test fails when run with negative timezone-offset

The timezone-offset for a given user may result in the expression "new Date(0)" returning a date that, when stringified, will be in the format "Wed Dec 31, 1969 HH:MM:SS OFFSET TIMEZONE". The result of this behavior is that the test fails (deterministically) when run on machines whose timezone-offset is negative.

To work around this, factor in the user's timezone-offset when instantiating the test date.