summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/report.h b/src/report.h
index 03b80bc2..9c483c76 100644
--- a/src/report.h
+++ b/src/report.h
@@ -353,15 +353,17 @@ public:
return true;
}
-#if 0
- value_t option_date_format(call_scope_t& args) { // y:
- report->date_output_format = optarg;
+ value_t option_date_format_(call_scope_t& args) { // y:
+ ledger::output_date_format = args[0].as_string();
+ return true;
}
- value_t option_input_date_format(call_scope_t& args) { // :
- config->date_input_format = optarg;
+ value_t option_input_date_format_(call_scope_t& args) { // :
+ ledger::input_date_format = args[0].as_string();
+ return true;
}
+#if 0
value_t option_balance_format(call_scope_t& args) { // :
config->balance_format = optarg;
}