seattlerb/zenweb — pull request #4 by tamc (2012-06-24 18:48:17+00:00)
Title: Fix TestTime in test_zenweb_extensions so tests pass in any timezone

The TestTime tests failed for me in the UK, because I'm in a timezone where Time.at(0) is reported as being at the start of 1970, rather than the end of 1969.

I think the correct behaviour is to fix the test to match local time, rather than to fix the extensions to report a particular timezone. Therefore, the attached pull request should make the tests pass whatever the timezone by using Time.new(1969,12,31,16,0) in place of Time.at(0).

Hope it helps.

Tom