From 1419f68a67ccee8d14926f9c0aef3204cdcd291c Mon Sep 17 00:00:00 2001 From: Elango Cheran Date: Tue, 24 Oct 2023 20:25:12 -0700 Subject: [PATCH] Fix talk time formatting when minutes is a single digit --- _includes/partials/show_talk_time.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/partials/show_talk_time.html b/_includes/partials/show_talk_time.html index 6c7fa8ba..9f5c1fe0 100644 --- a/_includes/partials/show_talk_time.html +++ b/_includes/partials/show_talk_time.html @@ -11,7 +11,7 @@ {%- unless talk_day_hide -%} {{ day_abbr }}, {% endunless -%} {%- assign talk_day_hide = false -%} {% endif -%} - {{- talk_start_hour -}}:{%- if talk_start_min == 0 -%}0{%- endif -%}{{- talk_start_min -}} + {{- talk_start_hour -}}:{%- if talk_start_min < 10 -%}0{%- endif -%}{{- talk_start_min -}} {%- assign talk_time_styleclass = "" -%}