Skip to content

[Sync-En] ext/intl: correct the offset semantics of localtime, parse and parseToCalendar - #3465

Merged
lacatoire merged 1 commit into
masterfrom
sync-en/3454-intl
Sep 1, 2026
Merged

[Sync-En] ext/intl: correct the offset semantics of localtime, parse and parseToCalendar#3465
lacatoire merged 1 commit into
masterfrom
sync-en/3454-intl

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Translation of php/doc-en#4820 (commit 8871302): on return offset holds the position where parsing ended, whether or not it succeeded, and an out-of-range offset makes parsing fail immediately while leaving it untouched. The previous mention of -1 is gone, and the localtime() return value is described in full. EN-Revision updated.

Fixes: #3454

…and parseToCalendar

Translation of php/doc-en#4820 (commit 8871302): on return offset holds the
position where parsing ended, whether or not it succeeded, and an out-of-range
offset makes parsing fail immediately while leaving offset untouched. The
localtime return value is described in full. EN-Revision updated.
@lacatoire
lacatoire merged commit 553f37d into master Sep 1, 2026
5 checks passed
@lacatoire
lacatoire deleted the sync-en/3454-intl branch September 1, 2026 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Sync EN] localtime, parse, parseToCalendar: correct the offset semantics (#4820)

1 participant