Lee-W commented on code in PR #36363:
URL: https://github.com/apache/airflow/pull/36363#discussion_r1435444974


##########
airflow/providers/amazon/aws/hooks/s3.py:
##########
@@ -713,7 +713,9 @@ async def is_keys_unchanged_async(
             }
 
         if last_activity_time:
-            inactivity_seconds = int((datetime.now() - 
last_activity_time).total_seconds())
+            inactivity_seconds = int(
+                (datetime.now(last_activity_time.tzinfo) - 
last_activity_time).total_seconds()

Review Comment:
   Yep, they are supposed to be at the same timzone



-- 
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