[Rt-commit] r9960 - in rt/branches/3.6-RELEASE: .
jesse at bestpractical.com
jesse at bestpractical.com
Sat Dec 15 02:10:51 EST 2007
Author: jesse
Date: Sat Dec 15 02:10:50 2007
New Revision: 9960
Modified:
rt/branches/3.6-RELEASE/ (props changed)
rt/branches/3.6-RELEASE/html/REST/1.0/Forms/ticket/default
Log:
r72958 at pinglin: jesse | 2007-12-10 13:57:04 -0500
* Switch the REST interface to always show ticket times in minutes, rather than lose data
Modified: rt/branches/3.6-RELEASE/html/REST/1.0/Forms/ticket/default
==============================================================================
--- rt/branches/3.6-RELEASE/html/REST/1.0/Forms/ticket/default (original)
+++ rt/branches/3.6-RELEASE/html/REST/1.0/Forms/ticket/default Sat Dec 15 02:10:50 2007
@@ -207,7 +207,7 @@
foreach $key (qw(TimeEstimated TimeWorked TimeLeft)) {
next unless (!%$fields || (exists $fields->{lc $key}));
$val = $ticket->$key || 0;
- $val = $time->DurationAsString($val*60) if $val;
+ $val = "$val minutes" if $val;
push @data, [ $key => $val ];
}
More information about the Rt-commit
mailing list