diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-25 04:37:11 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-25 05:01:47 -0400 |
commit | fc84eeb358f13b7c2b2668917692da26af001901 (patch) | |
tree | cfc4540c1b7805a17425675c1143d7a2d748b42f /src/quotes.cc | |
parent | 588f2ef2f51d7bdf209820bfb244034863601939 (diff) | |
download | fork-ledger-fc84eeb358f13b7c2b2668917692da26af001901.tar.gz fork-ledger-fc84eeb358f13b7c2b2668917692da26af001901.tar.bz2 fork-ledger-fc84eeb358f13b7c2b2668917692da26af001901.zip |
Rewrote the way date and time I/O is managed
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; |