Make Date.strptime work with mock dates. Fixes #108.

See #108