From 157fa3b586d54f1b8e0c7cec2a5b7d6471976549 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Sun, 11 Jan 2015 00:01:15 -0800 Subject: [PATCH] 'and' in date ranges misconstrued '2days and 10hrs' --- tradecalc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tradecalc.py b/tradecalc.py index c5723e40..efdb8c87 100644 --- a/tradecalc.py +++ b/tradecalc.py @@ -231,7 +231,7 @@ def makeAge(value): else: srcAge = makeAge(trade.srcAge) dstAge = makeAge(trade.dstAge) - age = "{} and {}".format(srcAge, dstAge) + age = "{} vs {}".format(srcAge, dstAge) purchases += hopStepFmt.format( qty=qty, item=trade.name(), eacost=trade.costCr,