diff --git a/layouts/partials/li_compact.html b/layouts/partials/li_compact.html
index a466e0b1..eb051fc8 100644
--- a/layouts/partials/li_compact.html
+++ b/layouts/partials/li_compact.html
@@ -48,10 +48,10 @@
{{ $date := $item.Params.time_start | default $item.Date }}
{{ (time $date).Format $.Site.Params.date_format }}
{{ if not $item.Params.all_day }}
- {{ (time $date).Format ($.Site.Params.time_format | default "3:04 PM") }}
- {{ end }}
- {{ with .Params.time_end }}
- — {{ (time .).Format ($.Site.Params.time_format | default "3:04 PM") }}
+ {{ (time $date).Format ($.Site.Params.time_format | default "3:04 PM") }}
+ {{ with .Params.time_end }}
+ — {{ (time .).Format ($.Site.Params.time_format | default "3:04 PM") }}
+ {{ end }}
{{ end }}
{{ with $item.Params.location }}
diff --git a/layouts/partials/li_list.html b/layouts/partials/li_list.html
index 790ba3d2..3ec5bc33 100644
--- a/layouts/partials/li_list.html
+++ b/layouts/partials/li_list.html
@@ -28,10 +28,10 @@
{{ $date := $item.Params.time_start | default $item.Date }}
{{ (time $date).Format $.Site.Params.date_format }}
{{ if not $item.Params.all_day }}
- {{ (time $date).Format ($.Site.Params.time_format | default "3:04 PM") }}
- {{ end }}
- {{ with .Params.time_end }}
- — {{ (time .).Format ($.Site.Params.time_format | default "3:04 PM") }}
+ {{ (time $date).Format ($.Site.Params.time_format | default "3:04 PM") }}
+ {{ with .Params.time_end }}
+ — {{ (time .).Format ($.Site.Params.time_format | default "3:04 PM") }}
+ {{ end }}
{{ end }}
{{ with $item.Params.location }}