This commit is contained in:
Ralf Becker 2017-10-31 10:49:12 +01:00
parent b5574da397
commit b9594ea357

View File

@ -197,7 +197,7 @@ class DateTime extends \DateTime
case 'Saturday': case 'Saturday':
$wstart = -(6-$wday); $wstart = -(6-$wday);
break; break;
case 'Moday': case 'Monday':
default: default:
$wstart = -($wday ? $wday-1 : 6); $wstart = -($wday ? $wday-1 : 6);
break; break;