summaryrefslogtreecommitdiff
path: root/datetime.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-03-06 03:53:36 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:29 -0400
commitb737cd8e6dd185beeae902caa4eee6c4cee8bc36 (patch)
tree967b198e0d52c8d0f2ae2215c90224a6ff48194d /datetime.cc
parentd02f74efea3e6b631810bfd3c3d8adcaa4299902 (diff)
downloadfork-ledger-b737cd8e6dd185beeae902caa4eee6c4cee8bc36.tar.gz
fork-ledger-b737cd8e6dd185beeae902caa4eee6c4cee8bc36.tar.bz2
fork-ledger-b737cd8e6dd185beeae902caa4eee6c4cee8bc36.zip
Added a DATETIME value type.
Diffstat (limited to 'datetime.cc')
-rw-r--r--datetime.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/datetime.cc b/datetime.cc
index cf26d0c9..f5d071c3 100644
--- a/datetime.cc
+++ b/datetime.cc
@@ -34,6 +34,8 @@ const char * formats[] = {
NULL
};
+std::string datetime_t::date_format = "%Y/%m/%d";
+
std::time_t interval_t::first(const std::time_t moment) const
{
std::time_t quant = begin;