Change dictionary date type