git: a28a87756f - main - Website - Events: Fix date format
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 22 Jul 2023 09:10:59 UTC
The branch main has been updated by carlavilla:
URL: https://cgit.FreeBSD.org/doc/commit/?id=a28a87756fc8629516b8e7420b0b0d59fd849fcb
commit a28a87756fc8629516b8e7420b0b0d59fd849fcb
Author: Minsoo Choo <minsoochoo0122@proton.me>
AuthorDate: 2023-07-22 09:09:20 +0000
Commit: Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
CommitDate: 2023-07-22 09:09:20 +0000
Website - Events: Fix date format
Some dates are presented incorrectly.
(Example: "29 March, 2023 - 02 April, 2023" is
presented "29 - 02 April, 2023")
PR: 268470
Submitted by: grahamperrin@
Differential Revision: https://reviews.freebsd.org/D41098
---
website/themes/beastie/layouts/events/list.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/website/themes/beastie/layouts/events/list.html b/website/themes/beastie/layouts/events/list.html
index 0991a16c24..07fed48984 100644
--- a/website/themes/beastie/layouts/events/list.html
+++ b/website/themes/beastie/layouts/events/list.html
@@ -113,7 +113,7 @@
<p>
<b><a href="{{ .url }}">{{ .name }}</a></b>, {{ .site }}, {{ .city }}, {{ .country }}
<br />
- <em>{{ dateFormat "02" .startDate }} - {{ dateFormat "02 January, 2006" .endDate }}</em>
+ <em>{{ dateFormat "02 January, 2006" .startDate }} - {{ dateFormat "02 January, 2006" .endDate }}</em>
<br />
{{ .description | safeHTML }}
</p>
@@ -143,7 +143,7 @@
<p>
<b><a href="{{ .url }}">{{ .name }}</a></b>, {{ .site }}, {{ .city }}, {{ .country }}
<br />
- <em>{{ dateFormat "02" .startDate }} - {{ dateFormat "02 January, 2006" .endDate }}</em>
+ <em>{{ dateFormat "02 January, 2006" .startDate }} - {{ dateFormat "02 January, 2006" .endDate }}</em>
<br />
{{ .description | safeHTML }}
</p>
@@ -188,7 +188,7 @@
<p>
<b><a href="{{ .url }}">{{ .name }}</a></b>, {{ .site }}, {{ .city }}, {{ .country }}
<br />
- <em>{{ dateFormat "02" .startDate }} - {{ dateFormat "02 January, 2006" .endDate }}</em>
+ <em>{{ dateFormat "02 January, 2006" .startDate }} - {{ dateFormat "02 January, 2006" .endDate }}</em>
<br />
{{ .description | safeHTML }}
</p>