You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@burr.apache.org by eb...@apache.org on 2026/06/20 20:01:30 UTC

(burr) branch main updated: fix: use aware UTC for S3 log partitions (#811)

This is an automated email from the ASF dual-hosted git repository.

elijahbenizzy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/burr.git


The following commit(s) were added to refs/heads/main by this push:
     new d3278d20 fix: use aware UTC for S3 log partitions (#811)
d3278d20 is described below

commit d3278d20e720e7d95ff0f946ef3a64ff70e8263f
Author: Rolly Calma <11...@users.noreply.github.com>
AuthorDate: Sun Jun 21 04:01:26 2026 +0800

    fix: use aware UTC for S3 log partitions (#811)
---
 burr/tracking/s3client.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/burr/tracking/s3client.py b/burr/tracking/s3client.py
index 561d517a..2a822eb9 100644
--- a/burr/tracking/s3client.py
+++ b/burr/tracking/s3client.py
@@ -204,7 +204,7 @@ class S3TrackingClient(SyncTrackingClient):
         self.stream_state: Dict[StateKey, StreamState] = dict()
 
     def _get_time_partition(self):
-        time = datetime.datetime.utcnow().isoformat()
+        time = datetime.datetime.now(datetime.UTC).isoformat()
         return [time[:4], time[5:7], time[8:10], time[11:13], time[14:]]
 
     def get_prefix(self):