From fc84eeb358f13b7c2b2668917692da26af001901 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 25 Oct 2009 04:37:11 -0400 Subject: Rewrote the way date and time I/O is managed --- src/quotes.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/quotes.cc') 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; -- cgit v1.2.3