Skip to content

Commit

Permalink
the compiledate in enigma.info should be used as buildate
Browse files Browse the repository at this point in the history
  • Loading branch information
WanWizard committed Jul 22, 2024
1 parent b902711 commit 59289c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/Tools/Multiboot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()])
Expand Down

0 comments on commit 59289c9

Please sign in to comment.