Merge branch 'master' of github.com:gebhardtdasense/system

This commit is contained in:
Ulf Gebhardt 2015-01-09 13:16:51 +01:00
commit 5b3346f6c9

View File

@ -11,7 +11,7 @@ class crontime {
if($day + $now_day> 31){ $next_month += 1;}
$next_day = ($now_day+$day)%31;}
if($hour){
if(($hour + $now_hour)> 24){ $next_day += 1;}
if(($hour + $now_hour)>= 24){ $next_day += 1;}
$next_hour = ($now_hour+$hour)%24;}
if($min){
if(($min + $now_min)> 60){ $next_hour += 1;}