Fix timezone parsing by applying the timezone offset after date creation

Fix for bug described in #1627.

Needs tests.