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