From cccbb08a6e5b4236245f0d783823e096be8e5c81 Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Sat, 1 Jun 2024 06:55:24 -0400 Subject: [PATCH] Update arrow-cast/src/cast/mod.rs --- arrow-cast/src/cast/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arrow-cast/src/cast/mod.rs b/arrow-cast/src/cast/mod.rs index 265d78b06d5..df7dc3bc73d 100644 --- a/arrow-cast/src/cast/mod.rs +++ b/arrow-cast/src/cast/mod.rs @@ -629,8 +629,8 @@ fn timestamp_to_date32( /// # Casting timestamps without timezone to timestamps with timezone /// /// When casting from a timestamp without timezone to a timestamp with -/// timezone, the cast kernel treats the underlying timestamp values as being in -/// UTC and adjusts them to the provided timezone. +/// timezone, the cast kernel interprets the timestamp values as being in +/// the destination timezone and then adjusts the underlying value to UTC as required /// /// However, note that when casting from a timestamp with timezone BACK to a /// timestamp without timezone the cast kernel does not adjust the values.