[Rt-commit] rt branch, 4.4/ticket-timer, repushed
Shawn Moore
shawn at bestpractical.com
Thu Sep 24 16:46:44 EDT 2015
The branch 4.4/ticket-timer was deleted and repushed:
was 374aff8a95f346ab83239225e33febcd2a522e78
now e66c24ec015c1e491ad968800ce76c17b08acc93
1: 8317b90 = 1: 8317b90 Add ShowHeader for controlling inclusion of header title
2: fe06f33 = 2: fe06f33 New bookmark star icons
3: 374aff8 ! 3: e66c24e Dialog for tracking and submitting time worked on tickets
@@ -76,7 +76,8 @@
+my $Ticket = RT::Ticket->new($session{'CurrentUser'});
+$Ticket->Load( $id );
+
-+my $minutes = int($seconds / 60);
++# round up 30s or more
++my $minutes = int(0.5 + $seconds / 60);
+
+my ($ok, $msg);
+if ($minutes == 0) {
More information about the rt-commit
mailing list