Fixed timezone offset bug.

Fixes #20