feat(): change date format to YYYY-mm-dd hh:mm-ss

This commit is contained in:
kendo5731 2016-02-07 13:24:39 +01:00
parent 373a869d4c
commit b78846f55b
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<div class="articles-list">
{{ range $paginator.Pages }}
<article>
<h3><a href="{{ .Permalink }}">{{ .Title }}</a> - {{ dateFormat "01-02-2006 15:04:05" .Date }}</h3>
<h3><a href="{{ .Permalink }}">{{ .Title }}</a> - {{ dateFormat "2006-01-02 15:04:05" .Date }}</h3>
{{ .Summary }}
</article>
{{ end }}