summaryrefslogtreecommitdiff
path: root/src/xact.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-27 07:15:52 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-27 08:30:58 -0400
commit23a7c22c70671f2d5467af629bc78d090ac1e340 (patch)
tree87866206ebccd093efddef975eb67dd85a40bb8b /src/xact.cc
parent0fdb900c9975b97b43fe85c2691a9d5e69006fab (diff)
downloadfork-ledger-23a7c22c70671f2d5467af629bc78d090ac1e340.tar.gz
fork-ledger-23a7c22c70671f2d5467af629bc78d090ac1e340.tar.bz2
fork-ledger-23a7c22c70671f2d5467af629bc78d090ac1e340.zip
Use the WRITTEN date format for idstrings
Diffstat (limited to 'src/xact.cc')
-rw-r--r--src/xact.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xact.cc b/src/xact.cc
index f459b4a2..c0d1c724 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -368,7 +368,7 @@ value_t xact_t::magnitude() const
string xact_t::idstring() const
{
std::ostringstream buf;
- buf << *_date;
+ buf << format_date(*_date, FMT_WRITTEN);
buf << payee;
magnitude().print(buf);
return buf.str();