summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-01-29 11:39:01 -0700
committerCraig Earls <enderw88@gmail.com>2013-01-29 11:39:01 -0700
commita4c81a4cd72024bb8e39550447cc28c6335af028 (patch)
treea3ab9b26047500e8a4582e3715ecfead19389b3c /src/session.h
parentf8ff46241bfd2b1beed418b201a121c2738db089 (diff)
parent1e709d1040eb2c10f7ab0ea80e903c12fcb0f35c (diff)
downloadfork-ledger-a4c81a4cd72024bb8e39550447cc28c6335af028.tar.gz
fork-ledger-a4c81a4cd72024bb8e39550447cc28c6335af028.tar.bz2
fork-ledger-a4c81a4cd72024bb8e39550447cc28c6335af028.zip
Merge branch 'next' into kitchen-sink
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/session.h b/src/session.h
index a0aba91b..74aeab5f 100644
--- a/src/session.h
+++ b/src/session.h
@@ -100,6 +100,7 @@ public:
HANDLER(day_break).report(out);
HANDLER(download).report(out);
HANDLER(decimal_comma).report(out);
+ HANDLER(time_colon).report(out);
HANDLER(file_).report(out);
HANDLER(input_date_format_).report(out);
HANDLER(explicit).report(out);
@@ -130,6 +131,10 @@ public:
commodity_t::decimal_comma_by_default = true;
});
+ OPTION_(session_t, time_colon, DO() {
+ commodity_t::time_colon_by_default = true;
+ });
+
OPTION__
(session_t, price_exp_, // -Z
CTOR(session_t, price_exp_) { value = "24"; });