From c82d349f864e6bd9f96fd1156903bc1f7193a203 Mon Sep 17 00:00:00 2001 From: cvs2git Date: Mon, 27 Dec 2010 00:04:45 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'. --- rt/share/html/RTx/Statistics/Elements/DurationAsString | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 rt/share/html/RTx/Statistics/Elements/DurationAsString (limited to 'rt/share/html/RTx/Statistics/Elements/DurationAsString') diff --git a/rt/share/html/RTx/Statistics/Elements/DurationAsString b/rt/share/html/RTx/Statistics/Elements/DurationAsString deleted file mode 100755 index c0b4d9af4..000000000 --- a/rt/share/html/RTx/Statistics/Elements/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