Use the WRITTEN date format for idstrings

This commit is contained in:
John Wiegley 2009-10-27 07:15:52 -04:00
parent 0fdb900c99
commit 23a7c22c70

View file

@ -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();