From 8eb52ff7f46775e3fcd4ece48eb7888a27005d8b Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Sat, 21 Jul 2018 06:50:17 +0200 Subject: [PATCH] Hide time values for all-day events --- calsocial/templates/month-view.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/calsocial/templates/month-view.html b/calsocial/templates/month-view.html index 2f19e03..b305937 100644 --- a/calsocial/templates/month-view.html +++ b/calsocial/templates/month-view.html @@ -56,7 +56,9 @@ {{ day.day }} {% for event in calendar.day_events(day, user=current_user if user_only else none) %} + {% if not event.all_day %} {{ event.start_time_for_user(current_user).strftime('%H:%M') }}–{{ event.end_time_for_user(current_user).strftime('%H:%M') }} + {% endif %} {{ event.title }} {% endfor %}