jtrupiano/timecop — pull request #22 by pivotal-casebook (2012-02-01 23:51:43+00:00)
Title: Datetime precision

Hi there,

Here are two commits:

* One adds sub-second precision to e.g. DateTime.now after you've traveled.
* The other adds 'baseline' functionality to augment the example you give of setting time in the test environment file. We found people tend to use Timecop.return, which blows away the time set in the environment (and wreaks havoc); setting a baseline allows us to call Timecop.return_to_baseline, which remove all travel except the baseline.

They may be useful independently, but we had a minor merge conflict with ourselves when combining them.