Skip to content

Relax timezone_IDforWindowsID_basic2.phpt expectations #17669

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Feb 2, 2025

Apparently, some ICU versions report "America/Los_Angeles" for the ZZ case, what matches the behavior of ICU 76.1 (on Windows). Possibly, there has been some bug fix backport on some systems. Anyhow, either seems fine, so we're not picky about that.


Maybe we should merge this test case with timezone_IDforWindowsID_basic_icu76_1.phpt right away. And possibly we shortshould apply the fix to PHP-8.1+.

Apparently, some ICU versions report "America/Los_Angeles" for the `ZZ`
case, what matches the behavior of ICU 76.1 (on Windows).  Possibly,
there has been some bug fix backport on some systems.  Anyhow, either
seems fine, so we're not picky about that.
Copy link
Member

@nielsdos nielsdos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and yes this should be backported to 8.1 imo

timezone_IDforWindowsID_basic_icu76_1.phpt

Probably

@iluuu1994
Copy link
Member

Thank you Christoph. We should apply to 8.1 indeed.

@cmb69 cmb69 closed this in afe8e2c Feb 2, 2025
@cmb69
Copy link
Member Author

cmb69 commented Feb 2, 2025

Applied to PHP-8.1+. Can have a separate look into merging the test cases.

@cmb69 cmb69 deleted the cmb/timezone_IDforWindowsID_basic2.phpt branch February 2, 2025 12:40
charmitro pushed a commit to wasix-org/php that referenced this pull request Mar 13, 2025
Apparently, some ICU versions report "America/Los_Angeles" for the `ZZ`
case, what matches the behavior of ICU 76.1 (on Windows).  Possibly,
there has been some bug fix backport on some systems.  Anyhow, either
seems fine, so we're not picky about that.

Closes phpGH-17669.
Sign up for free to 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.

3 participants