From e3c18e2dc9d9ff2df9e97b76606de0d9850ff0d4 Mon Sep 17 00:00:00 2001 From: Mantas Vilčinskas Date: Sun, 9 May 2021 13:31:06 +0300 Subject: fix #184 --- layouts/partials/meta.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index 4a0e923..53b58bf 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -6,7 +6,7 @@ - + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} | {{ end }}{{ .Site.Title }}{{ end }} {{ range .AlternativeOutputFormats -}} -- cgit v1.2.3-70-g09d2 From 892af4b96106670f5c2744c39665036401c68796 Mon Sep 17 00:00:00 2001 From: Harald Kraemer Date: Sat, 24 Jul 2021 12:39:31 +0200 Subject: Fix relative date for resolved issues and non-UTC browser timezone. (#197) * Remove Storehouse from the README examples (#195) Their status page is no longer present, as they seem to be changing their web strategy * Fix relative date for resolved issues and non-UTC browser timezone. The missing in the layout causes a weird glitch if the users browser is in a non-UTC timezone. For open incidents, the time is rendered as "23-07-2021 12:17:40 UTC", and then the javascript library correctly translates from UTC into the users browser time, resulting in say "30m ago". For a resolved incident, the timezone of the date was stripped due to the missing in the format string, resulting in "23-07-2021 12:17:40". If the user has a browser is in the timezone CEST (UTC+2), this causes the relative time to jump from "30 minutes ago" for an open incident to "2 hours ago" for a closed incident, because now the time without time zone is not interpreted as UTC anymore. Co-authored-by: Justin Clift <82353280+jc-dgit@users.noreply.github.com> Co-authored-by: Harald Kraemer --- README.md | 1 - layouts/issues/small.html | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'layouts') diff --git a/README.md b/README.md index 2f588fb..afc4add 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,6 @@ You can also support the creator of this project by **starring, sharing, using c * [sr.ht](https://status.sr.ht/) * [Content Ignite](https://status.contentignite.com/) * [FSCI](https://status.fsci.in/) -* [Storehouse](https://status.sthse.co) * [Hyrousek](https://status.hyrousek.tk) * [josh.win](https://status.josh.win) diff --git a/layouts/issues/small.html b/layouts/issues/small.html index 531b47b..115d5d0 100644 --- a/layouts/issues/small.html +++ b/layouts/issues/small.html @@ -23,7 +23,7 @@ {{ else if .Params.Resolved }} - + {{ if .Site.Params.dateFormat }} {{ .Date.Format .Site.Params.dateFormat }} {{ else }} -- cgit v1.2.3-70-g09d2 From f5760ebdcdfd73155e28f7d3b59f20794ac9cb20 Mon Sep 17 00:00:00 2001 From: Mantas Vilčinskas Date: Sat, 24 Jul 2021 13:53:36 +0300 Subject: 5.0.4 --- layouts/partials/meta.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index 53b58bf..4ac0c54 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -12,7 +12,7 @@ {{ range .AlternativeOutputFormats -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} - +