[Scummvm-git-logs] scummvm master -> 16e50a608475b610ad31db12ed31d806e50e85a9

sev- noreply at scummvm.org
Fri Jul 11 11:40:45 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
16e50a6084 DEVTOOLS: COMPANION: Wrap around hours in timestamps


Commit: 16e50a608475b610ad31db12ed31d806e50e85a9
    https://github.com/scummvm/scummvm/commit/16e50a608475b610ad31db12ed31d806e50e85a9
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-07-11T13:39:08+02:00

Commit Message:
DEVTOOLS: COMPANION: Wrap around hours in timestamps

Changed paths:
    devtools/dumper-companion.py


diff --git a/devtools/dumper-companion.py b/devtools/dumper-companion.py
index 3da7a45fbbb..f35276aa6f4 100755
--- a/devtools/dumper-companion.py
+++ b/devtools/dumper-companion.py
@@ -571,7 +571,7 @@ def extract_volume_iso(args: argparse.Namespace) -> None:
 
                 rec = iso.get_record(**arg).date
                 stamp = datetime(rec.years_since_1900 + 1900, rec.month, rec.day_of_month,
-                                 rec.hour - rec.gmtoffset, rec.minute, rec.second, tzinfo=timezone.utc).timestamp()
+                                 (24 + rec.hour - rec.gmtoffset) % 24, rec.minute, rec.second, tzinfo=timezone.utc).timestamp()
 
                 f.close()
 




More information about the Scummvm-git-logs mailing list