When printing commodity lot dates, using format_date().

This commit is contained in:
John Wiegley 2008-08-13 02:58:10 -04:00
parent 37b30ae0ec
commit 3f8412f404

View file

@ -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 << ')';