summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-10-19 23:02:55 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:19 -0400
commitc1b998980f308e321519c69b40b4ab9ced09f348 (patch)
tree1dbeed5bbf0bfdaadce4ac6ee23cf722ecc5e6f7
parenteb0525e3157b579d45aab568e3ee06432fbaa338 (diff)
downloadfork-ledger-c1b998980f308e321519c69b40b4ab9ced09f348.tar.gz
fork-ledger-c1b998980f308e321519c69b40b4ab9ced09f348.tar.bz2
fork-ledger-c1b998980f308e321519c69b40b4ab9ced09f348.zip
*** empty log message ***
-rw-r--r--format.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/format.cc b/format.cc
index 050d3322..3abce944 100644
--- a/format.cc
+++ b/format.cc
@@ -453,7 +453,7 @@ void format_t::format(std::ostream& out_str, const details_t& details) const
std::strftime(abuf, 255, elem->chars.c_str(),
std::localtime(&actual_date));
- if (effective_date) {
+ if (effective_date && effective_date != actual_date) {
char buf[512];
char ebuf[256];
std::strftime(ebuf, 255, elem->chars.c_str(),