serve: fix .dtstart formatting

This commit is contained in:
Astro 2020-10-30 17:17:41 +01:00
parent 9dc747240b
commit 9e53e41f5f
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ fn render_index(app_state: &AppState) -> String {
<p class="dtstart" <p class="dtstart"
title={ format!("{}", e.dtstart.format("%c")) } title={ format!("{}", e.dtstart.format("%c")) }
> >
{ text!("{}", &e.dtstart.format("%H:%S")) } { text!("{}", &e.dtstart.format("%H:%M")) }
</p> </p>
{ match &e.url { { match &e.url {
None => html!( None => html!(