jorisvandenbossche commented on issue #36110:
URL: https://github.com/apache/arrow/issues/36110#issuecomment-1593730847

   Also within python, pytz and zoneinfo give a different result for me:
   
   ```
   >>> dt = datetime(2038, 4, 1, 3)
   >>> 
dt.replace(tzinfo=zoneinfo.ZoneInfo("America/Boise")).astimezone(timezone.utc)
   datetime.datetime(2038, 4, 1, 9, 0, tzinfo=datetime.timezone.utc)
   >>> pytz.timezone("America/Boise").localize(dt).astimezone(timezone.utc)
   datetime.datetime(2038, 4, 1, 10, 0, tzinfo=datetime.timezone.utc)
   ```
   
   And I think typically pytz includes its own copy of the tz database, so yet 
another version.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to