pivotal/jasmine — pull request #643 by jeffborg (2014-07-31 12:18:39+00:00)
Title: Fix issue with initialising date object using only 1 argument

When using new Date(MILLISECONDS) as a value date on both chrome and safari comes up as invalid due to the constructor being called with 7 arguments at all times, Just catch single case and only call with 1 argument.

This fixes invalid date when trying to initialise a date using a
integer value i.e. valueOf from another date object.