juju/juju — pull request #1118 by johnweldon (2014-11-12 23:58:36+00:00)
Title: Fix temporal bug; adjust meaning of nowToTheSecond.

Changed action_test because TimeBetween excludes the boundary
conditions, and I don't want to resort to fiddling with changing
the time or pausing the tests to make sure the expected result is within
the boundary conditions.

Also the output of TimeBetween isn't really helpful in diagnosing the
test failures.

Changed nowToTheSecond because, in the tests, using time.Round() is
a little more unpredictable than time.Truncate(), and time.Truncate()
feels more consistent anyway.