Skip to content

Remove rounding mode hack#7055

Merged
mozzius merged 4 commits into
mainfrom
samuel/rounding-upstream
Dec 11, 2024
Merged

Remove rounding mode hack#7055
mozzius merged 4 commits into
mainfrom
samuel/rounding-upstream

Conversation

@mozzius
Copy link
Copy Markdown
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
@github-actions
Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

@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
Copy Markdown
Contributor

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
@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