summaryrefslogtreecommitdiff
path: root/src/times.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-13 03:12:25 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-13 03:12:25 -0400
commitb588dc4caf3e4a00460fb3e0f6524e6e44bf3d23 (patch)
tree07cf2eea21e0534c63ea7992e1bbdc489d69f418 /src/times.h
parentb134a98e1e86bed00f291c1eb2b6505b4d9a6b64 (diff)
downloadfork-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.h2
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);
}
}