Resolve warning "DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated". SHOP-7791
Closes SHOP-7791