From 0922bcf5c61f8fca804c85a2a6ec8aeebf2f6600 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 4 Dec 2010 23:54:24 +0000 Subject: RTx-Statistics in 2.1 / 3.8 --- rt/html/RTx/Statistics/DurationAsString | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 rt/html/RTx/Statistics/DurationAsString (limited to 'rt/html/RTx/Statistics/DurationAsString') diff --git a/rt/html/RTx/Statistics/DurationAsString b/rt/html/RTx/Statistics/DurationAsString deleted file mode 100755 index c0b4d9af4..000000000 --- a/rt/html/RTx/Statistics/DurationAsString +++ /dev/null @@ -1,18 +0,0 @@ -<%$days|'00'%> days <%$hours|'00'%>:<%$minutes|'00'%> -<%INIT> - -my $MINUTE = 60; -my $HOUR = $MINUTE*60; -my $DAY = $HOUR * 24; -my $WEEK = $DAY * 7; -my $days = int($Duration / $DAY); -$Duration = $Duration % $DAY; -my $hours = int($Duration / $HOUR); -$hours = sprintf("%02d", $hours); -$Duration = $Duration % $HOUR; -my $minutes = int($Duration/$MINUTE); -$minutes = sprintf("%02d", $minutes); - -<%ARGS> -$Duration => undef - -- cgit v1.2.1