From a49457b2fd2e9eddad4ede95bf53e063c243e1e3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 10 Oct 2013 12:43:27 +0200 Subject: [PATCH] Don't break inside durations --- src/root/common.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/root/common.tt b/src/root/common.tt index 5107190e..9b2b9dcf 100644 --- a/src/root/common.tt +++ b/src/root/common.tt @@ -40,9 +40,9 @@ END; BLOCK renderDuration; - IF duration >= 24 * 60 * 60; duration div (24 * 60 * 60) %]d [% END; - IF duration >= 60 * 60; duration div (60 * 60) % 24 %]h [% END; - IF duration >= 60; duration div 60 % 60 %]m [% END; + IF duration >= 24 * 60 * 60; duration div (24 * 60 * 60) %]d [% END; + IF duration >= 60 * 60; duration div (60 * 60) % 24 %]h [% END; + IF duration >= 60; duration div 60 % 60 %]m [% END; duration % 60 %]s[% END;