Skip to content

[v4.3] Fix JS locale data for release of Money 6.19#5690

Merged
spaghetticode merged 1 commit intov4.3from
backport/v4.3/pr-5683
Mar 11, 2024
Merged

[v4.3] Fix JS locale data for release of Money 6.19#5690
spaghetticode merged 1 commit intov4.3from
backport/v4.3/pr-5683

Conversation

@github-actions
Copy link
Copy Markdown

Backport

This will backport the following commits from main to v4.3:

Questions ?

Please refer to the Backport tool documentation

The money gem in its latest iteration added a space between value and
unit of the Swiss Franc. Our heuristic in `_js_locale_data.html.erb`
can't deal with that, so we add a third branch to it: If the money gem
has a format wish, we'll respect it, but replace its abbreviations with
the one the `accounting.js` library prefers.

(cherry picked from commit f19e6fc)
@github-actions github-actions Bot requested a review from a team as a code owner March 11, 2024 11:04
@github-actions github-actions Bot added the changelog:solidus_backend Changes to the solidus_backend gem label Mar 11, 2024
@spaghetticode
Copy link
Copy Markdown
Member

This requires #5691 in order to succeed, and vice versa ♻️

@spaghetticode spaghetticode merged commit e47d9ce into v4.3 Mar 11, 2024
@spaghetticode spaghetticode deleted the backport/v4.3/pr-5683 branch March 11, 2024 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:solidus_backend Changes to the solidus_backend gem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants