Skip to content

Disable DateTimeFormat::formatToParts for Apple platform - #1155

Closed
lavenzg wants to merge 1 commit into
meta:mainfrom
lavenzg:export-D50019923
Closed

lavenzg wants to merge 1 commit into
meta:mainfrom
lavenzg:export-D50019923

Conversation

@lavenzg

@lavenzg lavenzg commented Oct 16, 2023

Copy link
Copy Markdown
Contributor

Summary:
DateTimeFormat::formatToParts is broken in several aspects, e.g.,
date components such as dayPeriod is not handled, string splitting
for other locales (such as "zh-chinese") is incorrect, etc. So we
have to disable it for now, and disable relevant tests.

Differential Revision: D50019923

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Oct 16, 2023
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D50019923

lavenzg added a commit to lavenzg/hermes that referenced this pull request Oct 17, 2023
Summary:

DateTimeFormat::formatToParts is broken in several aspects, e.g.,
date components such as dayPeriod is not handled, string splitting
for other locales (such as "zh-chinese") is incorrect, etc. So we
have to disable it for now, and disable relevant tests.

Reviewed By: neildhar

Differential Revision: D50019923
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D50019923

Summary:

DateTimeFormat::formatToParts is broken in several aspects, e.g.,
date components such as dayPeriod is not handled, string splitting
for other locales (such as "zh-chinese") is incorrect, etc. So we
have to disable it for now, and disable relevant tests.

Reviewed By: neildhar

Differential Revision: D50019923
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D50019923

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D50019923

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in c5a633f.

facebook-github-bot pushed a commit that referenced this pull request Nov 8, 2023
Summary:
Original Author: zhaogang@meta.com
Original Git: c5a633f
Original Reviewed By: neildhar
Original Revision: D50019923

Pull Request resolved: #1155

DateTimeFormat::formatToParts is broken in several aspects, e.g.,
date components such as dayPeriod is not handled, string splitting
for other locales (such as "zh-chinese") is incorrect, etc. So we
have to disable it for now, and disable relevant tests.

Reviewed By: tmikov

Differential Revision: D50992772

fbshipit-source-id: 710b770cfd546f4bc0d6495d383fb469145e20aa
cipolleschi added a commit that referenced this pull request Jun 3, 2024
cortinico added a commit that referenced this pull request Jun 17, 2024
blakef pushed a commit that referenced this pull request Nov 12, 2024
cipolleschi pushed a commit that referenced this pull request Nov 18, 2024
cipolleschi pushed a commit that referenced this pull request Nov 21, 2024
cipolleschi pushed a commit that referenced this pull request Nov 21, 2024
cipolleschi pushed a commit that referenced this pull request Nov 21, 2024
cipolleschi pushed a commit that referenced this pull request Nov 21, 2024
cipolleschi pushed a commit that referenced this pull request Nov 22, 2024
cipolleschi pushed a commit that referenced this pull request Nov 22, 2024
cipolleschi pushed a commit that referenced this pull request Nov 22, 2024
facebook-github-bot pushed a commit that referenced this pull request Nov 22, 2024
…)" (#1567)

Summary:
This reverts commit c5a633f.

That commit removed the Intl.DateTimeFormat.formatToParts for Apple platforms from Hermes.
However, the community started depending on it, and we ended up manually reverting that commit in the release branch for the past 3 releases.

This is like reverting the commit in main, so we are proceeding with that approach to simplify the release process of React Native and Hermes to the OSS.

Pull Request resolved: #1567

Test Plan: CI

Reviewed By: blakef

Differential Revision: D66099176

Pulled By: cipolleschi

fbshipit-source-id: fe42bab7308bbd2294911be694f0bef8d1652566
facebook-github-bot pushed a commit that referenced this pull request Jan 30, 2025
…)" (#1567) (#1567)

Summary:
Original Author: ncor@meta.com
Original Git: ac557bb
Original Reviewed By: blakef
Original Revision: D66099176

This reverts commit c5a633f.

That commit removed the Intl.DateTimeFormat.formatToParts for Apple platforms from Hermes.
However, the community started depending on it, and we ended up manually reverting that commit in the release branch for the past 3 releases.

This is like reverting the commit in main, so we are proceeding with that approach to simplify the release process of React Native and Hermes to the OSS.

Pull Request resolved: #1567

Pulled By: cipolleschi

Reviewed By: neildhar

Differential Revision: D68868242

fbshipit-source-id: c06b9821feb57507c7380358a7181747b91b0de5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants