fixed timezone problem for datetime types