[2025-04-13] Change to 24-hour clock due to platform-specific strftime() implementations

This commit is contained in:
Andrew Conlin 2025-04-13 19:40:38 +01:00
parent 5489c69d04
commit 9fea0c4834

View File

@ -176,7 +176,7 @@ def getHomoSapiens(yearPercent):
def getTemplate(timestamp):
now = datetime.datetime.fromtimestamp(timestamp)
nowTime = now.strftime("%-I:%M%p")
nowTime = now.strftime("%H:%M")
nowDate = now.strftime("%A") + " " + now.strftime("%-d") + " " + now.strftime("%B")
delta = now - datetime.datetime(day=1,month=1,year=now.year)