7
0
Fork 0

Toevoegen vriendelijke datumnotatie

This commit is contained in:
Michael Boelen 2023-06-11 20:56:02 +02:00
parent d729b68a42
commit 3fcd6c443f

View file

@ -23,7 +23,7 @@
{{ if .Params.event_register_start_date }} {{ if .Params.event_register_start_date }}
{{ $event_register_start_date := .Params.event_register_start_date | time }} {{ $event_register_start_date := .Params.event_register_start_date | time }}
{{ if le now $event_register_start_date }} {{ if le now $event_register_start_date }}
<p>De inschrijving opent op {{ .Params.event_register_start_date }}</p> <p>De inschrijving opent op {{ .Params.event_register_start_date | time.Format ":date_full" }}.</p>
{{ else }} {{ else }}
{{ if .Params.event_register_end_date }} {{ if .Params.event_register_end_date }}
{{ $event_register_end_date := .Params.event_register_end_date | time }} {{ $event_register_end_date := .Params.event_register_end_date | time }}