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':
$wstart = -(6-$wday);
break;
case 'Moday':
case 'Monday':
default:
$wstart = -($wday ? $wday-1 : 6);
break;