You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The from_string and date_string properties were added for DateInterval instances that were created using the DateInterval::createFromDateString() method.
When cloning this property is not taken into account which causes issues (some DateInterval properties get ignored)
Removing the DateIntervalFilter doesn't work.
Solution example : return new DateInterval($element->format('%rP%yY%mM%dDT%hH%iM%sS'));
The text was updated successfully, but these errors were encountered:
Since PHP 8.2
When cloning this property is not taken into account which causes issues (some DateInterval properties get ignored)
Removing the
DateIntervalFilter
doesn't work.Solution example :
return new DateInterval($element->format('%rP%yY%mM%dDT%hH%iM%sS'));
The text was updated successfully, but these errors were encountered: