Take the local test machine's timezone into account.

Needed for time-based tests.