See the attached screenshot.

CommentFileSizeAuthor
miscalculation of hours.png10.57 KBmcstrother
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

luoenzhen’s picture

Assigned: Unassigned » luoenzhen

Definitely there's a better solution, though I fixed it as below in function shift_scheduler_old_shifts_results:

		if ($ett < $stt){
			$total_duty +=$ett + 24 * 3600 - $stt;
		}else{
			$total_duty += $ett - $stt;
		}
luoenzhen’s picture

Status: Active » Needs review

Please do some test on the latest build here:
http://drupalcode.org/sandbox/mcstrother/1075572.git/commit/a2005e9

luoenzhen’s picture

Status: Needs review » Closed (fixed)

issue closed.