diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-13 03:12:25 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-13 03:12:25 -0400 |
commit | b588dc4caf3e4a00460fb3e0f6524e6e44bf3d23 (patch) | |
tree | 07cf2eea21e0534c63ea7992e1bbdc489d69f418 /src/times.h | |
parent | b134a98e1e86bed00f291c1eb2b6505b4d9a6b64 (diff) | |
download | fork-ledger-b588dc4caf3e4a00460fb3e0f6524e6e44bf3d23.tar.gz fork-ledger-b588dc4caf3e4a00460fb3e0f6524e6e44bf3d23.tar.bz2 fork-ledger-b588dc4caf3e4a00460fb3e0f6524e6e44bf3d23.zip |
Changed the default output date format in register reports from 2008-08-13 to
08-Aug-13. This allows for the account name to be one character wider, while
the century was never significant in people's minds, whereas the change in
months between two transactions sometimes is.
Diffstat (limited to 'src/times.h')
-rw-r--r-- | src/times.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/times.h b/src/times.h index 306477f5..7e9d7ac0 100644 --- a/src/times.h +++ b/src/times.h @@ -95,7 +95,7 @@ inline string format_date(const date_t& when, std::strftime(buf, 255, format->c_str(), &moment); return buf; } else { - return to_iso_extended_string(when); + return to_simple_string(when).substr(2); } } |