Skip to content

[codex] Initialize ICU data for code mode V8#17709

Merged
pakrym-oai merged 1 commit intomainfrom
pakrym/code-mode-icu-data
Apr 14, 2026
Merged

[codex] Initialize ICU data for code mode V8#17709
pakrym-oai merged 1 commit intomainfrom
pakrym/code-mode-icu-data

Conversation

@pakrym-oai
Copy link
Copy Markdown
Collaborator

@pakrym-oai pakrym-oai commented Apr 13, 2026

Link ICU data into code mode, otherwise locale-dependent methods cause a panic and a crash.

@pakrym-oai pakrym-oai force-pushed the pakrym/code-mode-icu-data branch from b0f13f6 to 30705f9 Compare April 13, 2026 22:55
@pakrym-oai pakrym-oai marked this pull request as ready for review April 13, 2026 22:58
Comment thread codex-rs/code-mode/src/service.rs
Comment thread codex-rs/code-mode/src/service.rs Outdated
Comment on lines +602 to +605
new Intl.DateTimeFormat(void 0, {
timeZone: "America/Los_Angeles",
});
text("ok");
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Is this just proving that Intl.DateTimeFormat does not throw an exception? Why not use it with something to be sure it works for real?

@pakrym-oai pakrym-oai force-pushed the pakrym/code-mode-icu-data branch from 30705f9 to 0736990 Compare April 14, 2026 04:28
@pakrym-oai pakrym-oai merged commit ad37389 into main Apr 14, 2026
28 of 33 checks passed
@pakrym-oai pakrym-oai deleted the pakrym/code-mode-icu-data branch April 14, 2026 05:02
@github-actions github-actions bot locked and limited conversation to collaborators Apr 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants