jonboulle/clockwork — pull request #1 by bcwaldon (2014-12-16 17:43:56+00:00)
Title: clockwork: use non-zero time in NewFakeClock

The built-in time package provides a function to check whether or not a given Time object represents Time's zero-value: http://golang.org/pkg/time/#Time.IsZero. The current logic in NewFakeClock returns a time that fulfills IsZero. Users of this library that care about the IsZero distinction will get different results when using the fake clock vs the real clock. Simply using a standard time in the past after time zero gets us a static point in time we can use for comparison.