Merge pull request #7 from netlify/remove_date_difference
Simplify date format keeping timezone information.
This commit is contained in:
commit
b475ebbf33
@ -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> •
|
</a> •
|
||||||
<a href="https://github.com/netlify/netlify-statuskit">
|
<a href="https://github.com/netlify/netlify-statuskit">
|
||||||
|
@ -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 -}}
|
||||||
|
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user