Simplify date format keeping timezone information.

Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
David Calavera 2016-11-21 17:42:14 -08:00
parent 306bbcb179
commit 38a75244ae
No known key found for this signature in database
GPG Key ID: DE3D437CCBECE2C4
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<div class="footer"> <div class="footer">
<p> <p>
<a href="http://netlify.com/statuskit"> <a href="https://www.netlify.com/statuskit">
StatusKit by Netlify StatusKit by Netlify
</a> &#8226 </a> &#8226
<a href="https://github.com/netlify/netlify-statuskit"> <a href="https://github.com/netlify/netlify-statuskit">

View File

@ -1,7 +1,7 @@
<div class="incident card"> <div class="incident card">
<div class="incident-header"> <div class="incident-header">
<p class="incident-title">{{ .Title }}</p> <p class="incident-title">{{ .Title }}</p>
<p class="incident-date">{{ dateFormat "02 Jan 2006 15:04 -0700 MST" .Date }}</p> <p class="incident-date">{{ dateFormat "02 Jan 2006 15:04 MST" .Date }}</p>
</div> </div>
<div class="incident-description"> <div class="incident-description">
{{- .Content -}} {{- .Content -}}

View File

@ -7,7 +7,7 @@
{{ .Title }} {{ .Title }}
</a> </a>
<span class="article-date"> <span class="article-date">
{{ dateFormat "02 Jan 2006 15:04 -0700 MST" .Date }} {{ dateFormat "02 Jan 2006 15:04 MST" .Date }}
</span> </span>
</div> </div>
{{ end }} {{ end }}