[2025-04-13] Change to 24-hour clock due to platform-specific strftime()
implementations
This commit is contained in:
parent
5489c69d04
commit
9fea0c4834
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user