diff options
| author | ivan <ivan> | 2010-12-04 23:54:24 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2010-12-04 23:54:24 +0000 |
| commit | 0922bcf5c61f8fca804c85a2a6ec8aeebf2f6600 (patch) | |
| tree | cc18ee2f90b9175783e3976612f1b73ce3eae63c /rt/html/RTx/Statistics/Elements/DurationAsString | |
| parent | 89d1ff9e372357d3a27c11dcb4d954ba5332860f (diff) | |
RTx-Statistics in 2.1 / 3.8
Diffstat (limited to 'rt/html/RTx/Statistics/Elements/DurationAsString')
| -rwxr-xr-x | rt/html/RTx/Statistics/Elements/DurationAsString | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/rt/html/RTx/Statistics/Elements/DurationAsString b/rt/html/RTx/Statistics/Elements/DurationAsString deleted file mode 100755 index c0b4d9af4..000000000 --- a/rt/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); -</%INIT> -<%ARGS> -$Duration => undef -</%ARGS> |
