summaryrefslogtreecommitdiff
path: root/src/times.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/times.h')
-rw-r--r--src/times.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/times.h b/src/times.h
index 306477f5..7e9d7ac0 100644
--- a/src/times.h
+++ b/src/times.h
@@ -95,7 +95,7 @@ inline string format_date(const date_t& when,
std::strftime(buf, 255, format->c_str(), &moment);
return buf;
} else {
- return to_iso_extended_string(when);
+ return to_simple_string(when).substr(2);
}
}