Skip to content

Commit

Permalink
Remove decimals from _just_time.
Browse files Browse the repository at this point in the history
  • Loading branch information
Petro31 committed Nov 20, 2023
1 parent c867ba2 commit a591708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easy_time.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@
{%- set units = translate('time', item, index=2, language=language) if value != 1 else translate('time', item, index=1, language=language) %}
{%- set units = ' %s' % units %}
{%- endif %}
{%- set ns.ret = ns.ret + [ '%s%s' % (chosen, units) ] %}
{%- set ns.ret = ns.ret + [ '%s%s' % (chosen | int, units) ] %}
{%- if biggest and ns.ret | length == 1 %}
{%- break %}
{%- endif %}
Expand Down

0 comments on commit a591708

Please sign in to comment.