summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-09-17 05:06:28 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-09-17 05:06:28 -0400
commit9307c87c952ee4752c04498bf68bc07b776e6d8a (patch)
tree3f18bd3c2eec5edceb574b2d0421bcbb80682b3a
parenta68bcfc92ed64a449925cd451b12afc45dbe9d28 (diff)
downloadfork-ledger-9307c87c952ee4752c04498bf68bc07b776e6d8a.tar.gz
fork-ledger-9307c87c952ee4752c04498bf68bc07b776e6d8a.tar.bz2
fork-ledger-9307c87c952ee4752c04498bf68bc07b776e6d8a.zip
When printing lot dates, never include a time.
-rw-r--r--amount.cc2
1 files changed, 1 insertions, 1 deletions
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 << ')';