diff options
author | Philip Häusler <msquare@notrademark.de> | 2013-12-28 02:28:39 +0100 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2013-12-28 02:28:39 +0100 |
commit | af47aae69af266398458be904d9d349339f96dba (patch) | |
tree | e05545e86083ef1002d4b5c60fc240079bd84825 /config/config.default.php | |
parent | 8ce67793df5ea77494f6587f297fb96271d03290 (diff) |
fixed shift length calculation for active angels
Diffstat (limited to 'config/config.default.php')
-rw-r--r-- | config/config.default.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/config.default.php b/config/config.default.php index bd3415da..6db1441a 100644 --- a/config/config.default.php +++ b/config/config.default.php @@ -43,7 +43,7 @@ $shift_sum_formula = "SUM( (HOUR(FROM_UNIXTIME(`Shifts`.`end`)) > 2 AND HOUR(FROM_UNIXTIME(`Shifts`.`end`)) < 6) OR (HOUR(FROM_UNIXTIME(`Shifts`.`start`)) > 2 AND HOUR(FROM_UNIXTIME(`Shifts`.`start`)) < 6) OR (HOUR(FROM_UNIXTIME(`Shifts`.`start`)) <= 2 AND HOUR(FROM_UNIXTIME(`Shifts`.`end`)) >= 6) - ))*(`Shifts`.`end` - `Shifts`.`start`)*(-2 * `ShiftEntry`.`freeloaded`) + ))*(`Shifts`.`end` - `Shifts`.`start`)*(1 - 3 * `ShiftEntry`.`freeloaded`) )"; // weigh every shift the same |