Fix timezone in sql-query