mutualmobile/lavaca — pull request #55 by gaqzi (2013-01-02 11:05:39+00:00)
Title: DateUtils can stringify a date test fails in time zones that are ahead of UTC.

![Screenshot_2013-01-02_19_03](https://f.cloud.github.com/assets/18167/38062/0e8e3718-54cc-11e2-9d6a-a96974aacad5.png)

When the time zone is ahead of UTC/GMT the returned value for Date.getTimezoneOffset will be negative. The previous test inverted the sign, and as the sign is being set on it's own the hour value should always be an absolute value.

https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Date/getTimezoneOffset