summaryrefslogtreecommitdiff
path: root/datetime.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-17 18:19:25 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-17 18:19:25 -0400
commitfadab59e87f7a4789e904f8bda73ed26fbbfd9a8 (patch)
tree22b5c5d177386f2f272135adadf7d02e3e7eb7c5 /datetime.cc
parentde39574e89cc72aef157d10d451fac1f78af37c6 (diff)
downloadfork-ledger-fadab59e87f7a4789e904f8bda73ed26fbbfd9a8.tar.gz
fork-ledger-fadab59e87f7a4789e904f8bda73ed26fbbfd9a8.tar.bz2
fork-ledger-fadab59e87f7a4789e904f8bda73ed26fbbfd9a8.zip
changes to value expressions, and to how the display predicate is computed
Diffstat (limited to 'datetime.cc')
-rw-r--r--datetime.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/datetime.cc b/datetime.cc
index 586722b5..4f6cf0d3 100644
--- a/datetime.cc
+++ b/datetime.cc
@@ -4,8 +4,8 @@
namespace ledger {
-static std::time_t now = std::time(NULL);
- struct std::tm * now_tm = std::localtime(&now);
+std::time_t now = std::time(NULL);
+struct std::tm * now_tm = std::localtime(&now);
static std::time_t base = -1;
static int base_year = -1;