From ce3c5ed7f0c8c4426b3717c169674edfe7a16556 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Sun, 16 Jan 2005 21:25:46 +0000 Subject: Patch for bug 277618: Move FormatTimeUnit() out of globals.pl; patch by Max K-A , r=wurblzap, a=myk. --- Bugzilla/BugMail.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Bugzilla/BugMail.pm') diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index da41d4247..41a8c2329 100644 --- a/Bugzilla/BugMail.pm +++ b/Bugzilla/BugMail.pm @@ -182,7 +182,7 @@ sub ProcessOneBug($) { if ($values{'qa_contact'}) { $values{'qa_contact'} = DBID_to_name($values{'qa_contact'}); } - $values{'estimated_time'} = FormatTimeUnit($values{'estimated_time'}); + $values{'estimated_time'} = format_time_decimal($values{'estimated_time'}); my @dependslist; SendSQL("SELECT dependson FROM dependencies WHERE @@ -235,8 +235,8 @@ sub ProcessOneBug($) { $what =~ s/^(Attachment )?/Attachment #$attachid / if $attachid; if( $fieldname eq 'estimated_time' || $fieldname eq 'remaining_time' ) { - $old = FormatTimeUnit($old); - $new = FormatTimeUnit($new); + $old = format_time_decimal($old); + $new = format_time_decimal($new); } if ($attachid) { SendSQL("SELECT isprivate FROM attachments -- cgit v1.2.3-24-g4f1b