Skip to content

Commit

Permalink
Time fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blagojabozinovski committed Feb 2, 2024
1 parent 8a238eb commit 825676f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ckanext/montreal_theme/templates/package/_read.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ <h2 id="data" class="text-3xl font-semibold pt-gutter pb-4 text-gray-900" >{{ _(

{% else %}
{% set hour = time_str[11:13] %}
{% set hourToInt = hour|int - 4 %}
{% set hourToInt = hour|int - 5 %}

{% if hourToInt < 10 %}
{% set montrealHour = '0' + hourToInt|string %}
{% set montrealHour = '0' + hourToInt|string %}
{% else %}
{% set montrealHour = hourToInt|string %}
{% set montrealHour = hourToInt|string %}
{%endif%}

{% set minutes = time_str[14:16] %}
Expand Down

0 comments on commit 825676f

Please sign in to comment.