diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-13 02:58:10 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-13 02:58:10 -0400 |
commit | 3f8412f4042239b2babfcd11d1d9544c85d935b2 (patch) | |
tree | f3a4a4f7b3be81d37c0485099233586634114f8f | |
parent | 37b30ae0ec0a42b56fbe23d7dbd68a8da73cfee8 (diff) | |
download | ledger-3f8412f4042239b2babfcd11d1d9544c85d935b2.tar.gz ledger-3f8412f4042239b2babfcd11d1d9544c85d935b2.tar.bz2 ledger-3f8412f4042239b2babfcd11d1d9544c85d935b2.zip |
When printing commodity lot dates, using format_date().
-rw-r--r-- | src/commodity.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 << ')'; |