Merge pull request #7 from netlify/remove_date_difference

Simplify date format keeping timezone information.
This commit is contained in:
David Calavera 2016-11-21 17:43:54 -08:00 committed by GitHub
commit b475ebbf33
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 }}