summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-25 04:37:11 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-25 05:01:47 -0400
commitfc84eeb358f13b7c2b2668917692da26af001901 (patch)
treecfc4540c1b7805a17425675c1143d7a2d748b42f /src/session.h
parent588f2ef2f51d7bdf209820bfb244034863601939 (diff)
downloadfork-ledger-fc84eeb358f13b7c2b2668917692da26af001901.tar.gz
fork-ledger-fc84eeb358f13b7c2b2668917692da26af001901.tar.bz2
fork-ledger-fc84eeb358f13b7c2b2668917692da26af001901.zip
Rewrote the way date and time I/O is managed
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/session.h b/src/session.h
index 894c59fa..a51cdba6 100644
--- a/src/session.h
+++ b/src/session.h
@@ -144,9 +144,9 @@ public:
});
OPTION_(session_t, input_date_format_, DO_(args) {
- // This changes the global variable inside times.h, which affects the
- // basic date parser
- input_date_format = args[1].as_string();
+ // This changes static variables inside times.h, which affects the basic
+ // date parser.
+ set_input_date_format(args[1].as_string().c_str());
});
OPTION(session_t, price_db_);