Moved timezone setting at the top

Should fix #1066.
Merge pull request #1067 from boenrobot/patch-1

Moved timezone setting at the top