Simplify date format keeping timezone information.
Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
parent
306bbcb179
commit
38a75244ae
@ -1,6 +1,6 @@
|
||||
<div class="footer">
|
||||
<p>
|
||||
<a href="http://netlify.com/statuskit">
|
||||
<a href="https://www.netlify.com/statuskit">
|
||||
StatusKit by Netlify
|
||||
</a> •
|
||||
<a href="https://github.com/netlify/netlify-statuskit">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<div class="incident card">
|
||||
<div class="incident-header">
|
||||
<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 class="incident-description">
|
||||
{{- .Content -}}
|
||||
|
@ -7,7 +7,7 @@
|
||||
{{ .Title }}
|
||||
</a>
|
||||
<span class="article-date">
|
||||
{{ dateFormat "02 Jan 2006 15:04 -0700 MST" .Date }}
|
||||
{{ dateFormat "02 Jan 2006 15:04 MST" .Date }}
|
||||
</span>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user