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/generate.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/generate.cc') diff --git a/src/generate.cc b/src/generate.cc index 8796f0bf..ebbc3cd7 100644 --- a/src/generate.cc +++ b/src/generate.cc @@ -321,11 +321,11 @@ void generate_posts_iterator::generate_note(std::ostream& out) void generate_posts_iterator::generate_xact(std::ostream& out) { - out << format_date(next_date, string("%Y/%m/%d")); + out << format_date(next_date, FMT_WRITTEN); next_date += gregorian::days(six_gen()); if (truth_gen()) { out << '='; - out << format_date(next_eff_date, string("%Y/%m/%d")); + out << format_date(next_eff_date, FMT_WRITTEN); next_eff_date += gregorian::days(six_gen()); } out << ' '; -- cgit v1.2.3