Skip to content

Conversation

devnexen
Copy link
Member

No description provided.

@devnexen devnexen requested a review from cmb69 December 21, 2024 19:14
Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

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

Thank you! The code changes look good to me (nice simplification). A couple of nits regarding the tests.

IntlDateFormatter::GREGORIAN, 'a'));
IntlDateFormatter::GREGORIAN, 'a');
} catch (IntlException $e) {
echo PHP_EOL."Exception: " . $e->getMessage() . " in " . $e->getFile() . " on line " . $e->getLine() . PHP_EOL;
Copy link
Member

Choose a reason for hiding this comment

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

Might be sufficient to only printf $e->getMessage(), but that should be done consistently for this test case. Leaving as is, is also fine for me.

@devnexen devnexen marked this pull request as ready for review December 23, 2024 22:00
Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

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

Looks like dateformat_set_timezone_id3.phpt needs to be adapted as well (runs on ICU < 72.1). Otherwise PR looks good.

@devnexen devnexen closed this in bf3673a Dec 24, 2024
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.

2 participants