summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/session.h b/src/session.h
index cb71c61b..280f8c3e 100644
--- a/src/session.h
+++ b/src/session.h
@@ -98,6 +98,9 @@ public:
clean_accounts();
}
+ value_t fn_now(call_scope_t&) {
+ return CURRENT_TIME();
+ }
value_t fn_today(call_scope_t&) {
return CURRENT_DATE();
}