2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-14 05:55:06 +00:00

days before, not days 'ago'

This commit is contained in:
2025-01-18 16:37:22 +00:00
parent a4957df557
commit 79cf342d33

View File

@@ -366,7 +366,7 @@ class JobQueue:
if k == "test":
continue
elif k == "date":
print(f"{YELLOW} days ago ", end=" ")
print(f"{YELLOW} days before ", end=" ")
elif k == "runlabel":
print(f"{YELLOW} label ", end=" ")
elif k == "TOTAL":
@@ -384,7 +384,7 @@ class JobQueue:
rp = " - "
print("%8s" % rp, end=" ")
elif k == "date":
# Calculate dates as days before present
# Calculate dates as days before last run
if r[i]:
if i == len(r) - 1:
print(" this", end=" ")