Skip to content

Commit

Permalink
Fix talk time formatting when minutes is a single digit (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
echeran authored Oct 25, 2023
1 parent 725c102 commit 4a7c1dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/partials/show_talk_time.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}
</a>

{%- assign talk_time_styleclass = "" -%}

0 comments on commit 4a7c1dd

Please sign in to comment.