Fix scaling of time stamps.

Addresses GitHub issue #396.