From 3f8412f4042239b2babfcd11d1d9544c85d935b2 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 13 Aug 2008 02:58:10 -0400 Subject: [PATCH] When printing commodity lot dates, using format_date(). --- src/commodity.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commodity.cc b/src/commodity.cc index 7bb41651..939b9375 100644 --- a/src/commodity.cc +++ b/src/commodity.cc @@ -401,7 +401,7 @@ void annotated_commodity_t::write_annotations(std::ostream& out, out << " {" << *info.price << '}'; if (info.date) - out << " [" << *info.date << ']'; + out << " [" << format_date(*info.date) << ']'; if (info.tag) out << " (" << *info.tag << ')';