diff options
Diffstat (limited to 'src/quotes.cc')
-rw-r--r-- | src/quotes.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quotes.cc b/src/quotes.cc index d4be462e..797e6dd5 100644 --- a/src/quotes.cc +++ b/src/quotes.cc @@ -86,7 +86,7 @@ commodity_quote_from_script(commodity_t& commodity, std::ios_base::out | std::ios_base::app); #endif database << "P " - << format_datetime(point->when, string("%Y/%m/%d %H:%M:%S")) + << format_datetime(point->when, FMT_WRITTEN) << " " << commodity.symbol() << " " << point->price << std::endl; |