iamgnat / icaltimetracker

Automatically exported from code.google.com/p/icaltimetracker
0 stars 0 forks source link

Weekly percentage wrong for Saturday #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
6 hours added to a  satruday shows a negative number for the percentage
worked in the daily view.

Original issue reported on code.google.com by iamgnat on 21 Mar 2010 at 12:42

GoogleCodeExporter commented 9 years ago
Presumably this applies to Sunday too according to the code.

workHoursInRangeFrom:to: returns 0 for Sat & Sun.

Added check for daily processing to set the percentage to 100% if 0 is returned 
from
workHoursInRangeFrom:to:.

Fixed in rev 5 of CalendarProcessor.m

Original comment by iamgnat on 21 Mar 2010 at 1:04

GoogleCodeExporter commented 9 years ago

Original comment by iamgnat on 24 Mar 2010 at 2:39

GoogleCodeExporter commented 9 years ago

Original comment by iamgnat on 24 Mar 2010 at 2:43