diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/templates/functions.go | 1 |
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, |