Fix issue #617: handle TIME_ZONE=None

Fortunately Django is kind enough to give us
a method to get the current timezone, there
is no need to access settings.TIME_ZONE
directly.