From 59289c90f9a36fc2e1b26cf4b86b964499114102 Mon Sep 17 00:00:00 2001 From: WanWizard Date: Mon, 22 Jul 2024 20:20:00 +0100 Subject: [PATCH] the compiledate in enigma.info should be used as buildate --- lib/python/Tools/Multiboot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/Tools/Multiboot.py b/lib/python/Tools/Multiboot.py index e67dea70564..8efdd35e78b 100644 --- a/lib/python/Tools/Multiboot.py +++ b/lib/python/Tools/Multiboot.py @@ -48,7 +48,7 @@ def getSlotImageInfo(slot, imagedir="/"): Creator = BoxInfoInstance.getItem("distro", "").capitalize() BuildImgVersion = BoxInfoInstance.getItem("imgversion") BuildType = BoxInfoInstance.getItem("imagetype", "")[0:3] - BuildVer = BoxInfoInstance.getItem("imagebuild") + BuildVer = BoxInfoInstance.getItem("compiledate") BuildDate = datetime.strptime(BuildVer, '%Y%m%d').strftime("%d-%m-%Y") if BuildVer else estimateSlotImageDate(imagedir) BuildDev = str(idb).zfill(3) if BuildType and BuildType != "rel" and (idb := BoxInfoInstance.getItem("imagedevbuild")) else "" return " ".join([str(x).strip() for x in (Creator, BuildImgVersion, BuildType, BuildDev, "(%s)" % BuildDate) if x and str(x).strip()])