Correct the output time

This commit is contained in:
Anthony Shaw
2022-05-17 14:26:10 +10:00
parent 41199a18ab
commit 2b8c41b589

View File

@@ -22,9 +22,9 @@ def format_delta(a: float, b: float, d: float) -> Text:
col = "spring_green2"
else:
col = "green1"
return Text(f"{b:.3f} ({d:.1f}%)", style=col)
return Text(f"{a:.3f} ({d:.1f}%)", style=col)
else:
return Text(f"{b:.3f} (-{d:.1f}%)", style="red")
return Text(f"{a:.3f} (-{d:.1f}%)", style="red")
if __name__ == "__main__":