Bugfix for datetimezone function