From eca66a0e3ec63dd481c70af64181c42ae6a6f689 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Mon, 2 Mar 2026 23:06:29 +0100 Subject: [PATCH] y2038: SUPPORT_32BIT_PLATFORMS = False, fixes #9429 Not as bad as it sounds: 32bit platforms with 64bit time_t will still work. As of 2026, this is pretty much any platform that can run borg reasonably well. --- src/borg/helpers/time.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/borg/helpers/time.py b/src/borg/helpers/time.py index 87852b32e..b98d7fe1f 100644 --- a/src/borg/helpers/time.py +++ b/src/borg/helpers/time.py @@ -53,7 +53,7 @@ def timestamp(s): # As long as people are using borg on 32bit platforms to access borg archives, we must # keep this value True. But we can expect that we can stop supporting 32bit platforms # well before coming close to the year 2038, so this will never be a practical problem. -SUPPORT_32BIT_PLATFORMS = True # set this to False before y2038. +SUPPORT_32BIT_PLATFORMS = False # set this to False before y2038. if SUPPORT_32BIT_PLATFORMS: # second timestamps will fit into a signed int32 (platform time_t limit).