From a591708ac1546f6c60325f9bc4162949d0801ac6 Mon Sep 17 00:00:00 2001 From: Petro Date: Mon, 20 Nov 2023 06:42:16 -0500 Subject: [PATCH] Remove decimals from _just_time. --- easy_time.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easy_time.jinja b/easy_time.jinja index 355d8d6..3a36cef 100644 --- a/easy_time.jinja +++ b/easy_time.jinja @@ -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 %}