aboutsummaryrefslogtreecommitdiffstats
path: root/lib/templates
diff options
context:
space:
mode:
Diffstat (limited to 'lib/templates')
-rw-r--r--lib/templates/functions.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/templates/functions.go b/lib/templates/functions.go
index 5d2f1928..0b0a4546 100644
--- a/lib/templates/functions.go
+++ b/lib/templates/functions.go
@@ -250,6 +250,7 @@ var templateFuncs = template.FuncMap{
"quote": quote,
"wrapText": wrapText,
"wrap": wrap,
+ "now": time.Now,
"dateFormat": time.Time.Format,
"toLocal": toLocal,
"exec": cmd,