diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/session.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/session.h b/src/session.h index 679fe679..fc6bf4f3 100644 --- a/src/session.h +++ b/src/session.h @@ -143,7 +143,12 @@ public: data_files.push_back(args[1].as_string()); }); - OPTION(session_t, input_date_format_); + 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(); + }); + OPTION(session_t, price_db_); OPTION(session_t, strict); }; |