Skip to content
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

Remove rounding mode hack #7055

Merged
merged 4 commits into from
Dec 11, 2024
Merged

Remove rounding mode hack #7055

merged 4 commits into from
Dec 11, 2024

Conversation

mozzius
Copy link
Member

@mozzius mozzius commented Dec 11, 2024

formatjs/formatjs#4678 was fixed upstream, so we can remove the hack

English:
Screenshot 2024-12-11 at 18 27 20

Japanese:
Screenshot 2024-12-11 at 18 31 38

Test plan

Round some numbers in various languages, and compare to the browser version

@mozzius mozzius requested a review from gaearon December 11, 2024 18:39
@arcalinea arcalinea temporarily deployed to samuel/rounding-upstream - social-app PR #7055 December 11, 2024 18:39 — with Render Destroyed
Copy link

Old size New size Diff
6.77 MB 6.77 MB -369 B (-0.01%)

This reverts commit f1b448e.
@arcalinea arcalinea temporarily deployed to samuel/rounding-upstream - social-app PR #7055 December 11, 2024 19:09 — with Render Destroyed
Copy link
Collaborator

@gaearon gaearon left a comment

Choose a reason for hiding this comment

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

lg

@gaearon
Copy link
Collaborator

gaearon commented Dec 11, 2024

We can just delete those tests

@arcalinea arcalinea temporarily deployed to samuel/rounding-upstream - social-app PR #7055 December 11, 2024 19:13 — with Render Destroyed
@mozzius mozzius merged commit b081f8f into main Dec 11, 2024
2 checks passed
@mozzius mozzius deleted the samuel/rounding-upstream branch December 11, 2024 19:13
auroursa added a commit to auroursa/bsky-app-zh that referenced this pull request Dec 12, 2024
gaearon pushed a commit that referenced this pull request Dec 16, 2024
* Fix post time localization on native

* Fix timezone

* Revent time.ts

* Add time.android.ts

* Add missing 'an' and 'ast'

* Revent PostThreadItem.tsx

* Resolve duplicate versions in lockfile

* Move to time.native.ts

* Follow #7055 to upgrade intl-datetimeformat version

* Remove time.native.ts
Signez pushed a commit to Signez/bsky-social-app that referenced this pull request Dec 26, 2024
* bump formatjs and remove hack

* maybe fix tests?

* Revert "maybe fix tests?"

This reverts commit f1b448e.

* rm test
Signez pushed a commit to Signez/bsky-social-app that referenced this pull request Dec 26, 2024
* Fix post time localization on native

* Fix timezone

* Revent time.ts

* Add time.android.ts

* Add missing 'an' and 'ast'

* Revent PostThreadItem.tsx

* Resolve duplicate versions in lockfile

* Move to time.native.ts

* Follow bluesky-social#7055 to upgrade intl-datetimeformat version

* Remove time.native.ts
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.

3 participants