summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 << ')';