summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/commodity.cc2
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 << ')';