summaryrefslogtreecommitdiff
path: root/value.cc
diff options
context:
space:
mode:
Diffstat (limited to 'value.cc')
-rw-r--r--value.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/value.cc b/value.cc
index 797f3e55..2569c237 100644
--- a/value.cc
+++ b/value.cc
@@ -1574,11 +1574,11 @@ void value_t::dump(std::ostream& out, const int first_width,
break;
case DATETIME:
- out << as_datetime();
+ out << format_datetime(as_datetime());
break;
case DATE:
- out << as_date();
+ out << format_date(as_date());
break;
case INTEGER: