Skip to content

Commit

Permalink
Fixed time summary bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dbyler committed Jul 19, 2011
1 parent fee946a commit 107f54a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Total Time.scpt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
# CHANGE HISTORY #
version 0.2b (2011-07-18)
- Fixed bug where time might not be displayed accurately
(Thanks to Ricardo Matias for the bug report)
version 0.2 (2011-07-07):
- Streamlined calls to OmniFocus with Rob Trew's input (Thanks, Rob!)
- Reorganized script for better readability
Expand Down Expand Up @@ -61,7 +65,7 @@ on main()
if thisEstimate is not missing value then set totalMinutes to totalMinutes + thisEstimate
end repeat
set modMinutes to (totalMinutes mod 60)
set totalHours to (totalMinutes / 60 as integer)
set totalHours to (totalMinutes div 60)
end tell
end tell

Expand Down

0 comments on commit 107f54a

Please sign in to comment.