show how early(late) a bulletin was released

This commit is contained in:
Jeff Epler 2022-10-06 21:19:16 -05:00
parent 10824e5d0d
commit 578099e3b0
No known key found for this signature in database
GPG key ID: D5BF15AB975AB4DE

View file

@ -52,7 +52,8 @@ def table() -> None:
opt_ls = "LS" if (start.dut1 * end.dut1 < 0) else " "
print(
f"{start.start_date} {start.dut1: 4.1f} {daycount:4} {opt_ls} "
f"# Bulletin {start.number:4} issued {start.date}"
f"# Bulletin {start.number:4} issued {start.date}, "
f"{(start.start_date - start.date).days} early"
)
if end is not None:
print(f"{end.start_date} {end.dut1: 4.1f}")