Fix rst doctests in time package
Merge pull request #1635 from mdboom/doctest/time

doctest/time