Skip to content

Conversation

@khaledalam
Copy link

Description

Fix#13857

date_diff() returning incorrect results when comparing DateTime objects with different timezones where the wall-clock date order is inverted relative to actual time.


Use SSE diff when wall-clock dates are inverted.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unexpected Results with PHP8 date_diff for Different Timezones

1 participant

@khaledalam