summaryrefslogtreecommitdiff
path: root/src/annotate.cc
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2014-05-13 00:03:39 -0400
committerMartin Michlmayr <tbm@cyrius.com>2014-05-13 00:03:39 -0400
commit0c9e188cfb37d8f1a2e508e05fe72217aab6dfee (patch)
tree195487deac18b219a920b575d16f842cce9b69f4 /src/annotate.cc
parente367cfd895790e573f91823acb8866d7d636e1b8 (diff)
downloadfork-ledger-0c9e188cfb37d8f1a2e508e05fe72217aab6dfee.tar.gz
fork-ledger-0c9e188cfb37d8f1a2e508e05fe72217aab6dfee.tar.bz2
fork-ledger-0c9e188cfb37d8f1a2e508e05fe72217aab6dfee.zip
Honour date-format for lot dates
Fixes bug #383
Diffstat (limited to 'src/annotate.cc')
-rw-r--r--src/annotate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/annotate.cc b/src/annotate.cc
index ab5c6e17..0cb7a24e 100644
--- a/src/annotate.cc
+++ b/src/annotate.cc
@@ -206,7 +206,7 @@ void annotation_t::print(std::ostream& out, bool keep_base,
if (date &&
(! no_computed_annotations || ! has_flags(ANNOTATION_DATE_CALCULATED)))
- out << " [" << format_date(*date, FMT_WRITTEN) << ']';
+ out << " [" << format_date(*date, FMT_PRINTED) << ']';
if (tag &&
(! no_computed_annotations || ! has_flags(ANNOTATION_TAG_CALCULATED)))