Fix ts resolving.

We were adding seconds and milliseconds.