From 9307c87c952ee4752c04498bf68bc07b776e6d8a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 17 Sep 2008 05:06:28 -0400 Subject: When printing lot dates, never include a time. --- amount.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amount.cc b/amount.cc index 9aebec26..ee9f78b0 100644 --- a/amount.cc +++ b/amount.cc @@ -1677,7 +1677,7 @@ annotated_commodity_t::write_annotations(std::ostream& out, out << " {" << price << '}'; if (date) - out << " [" << date << ']'; + out << " [" << date_t(date) << ']'; if (! tag.empty()) out << " (" << tag << ')'; -- cgit v1.2.3