diff options
author | jocuri%softhome.net <> | 2005-01-16 22:25:46 +0100 |
---|---|---|
committer | jocuri%softhome.net <> | 2005-01-16 22:25:46 +0100 |
commit | ce3c5ed7f0c8c4426b3717c169674edfe7a16556 (patch) | |
tree | 180fa447e85db8e843ccbf9c25870924a16c7686 /Bugzilla/BugMail.pm | |
parent | a3fa7395909a57c7811c2c82d7e5c2dc033d01de (diff) | |
download | bugzilla-ce3c5ed7f0c8c4426b3717c169674edfe7a16556.tar.gz bugzilla-ce3c5ed7f0c8c4426b3717c169674edfe7a16556.tar.xz |
Patch for bug 277618: Move FormatTimeUnit() out of globals.pl; patch by Max K-A <mkanat@kerio.com>, r=wurblzap, a=myk.
Diffstat (limited to 'Bugzilla/BugMail.pm')
-rw-r--r-- | Bugzilla/BugMail.pm | 6 |
1 files changed, 3 insertions, 3 deletions
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 |