tpl: Add time template func
authorWade Fitzpatrick <wade.fitzpatrick@gmail.com>
Wed, 3 Aug 2016 23:55:24 +0000 (09:55 +1000)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 3 Aug 2016 23:55:24 +0000 (01:55 +0200)
commit70544f9e62e5577d1daac1af8849739e4bef98ad
tree6a7ed4fb56050ce31c183844211335e023fe0859
parentd7f364c27e3adc4e012ee07e71f1c5ad5cfeb56f
tpl: Add time template func

Fixes #2328
tpl/template_funcs.go
tpl/template_funcs_test.go