Add dateFormat template function
authorTatsushi Demachi <tdemachi@gmail.com>
Wed, 21 Jan 2015 13:52:12 +0000 (22:52 +0900)
committerbep <bjorn.erik.pedersen@gmail.com>
Wed, 21 Jan 2015 23:08:30 +0000 (00:08 +0100)
commit37490ee27af10f14aa40bd5e2ae39952b21ac1bb
tree7a81ca6a70da0c69cacefb7652c9d1d414e5a610
parent878754c21f7b91310bd80b48a7e676b3b1071504
Add dateFormat template function

This is the implementation of the proposal at #235 and
http://discuss.gohugo.io/t/parsing-dates-in-templates/603/3
docs/content/templates/functions.md
tpl/template.go
tpl/template_test.go