-
Notifications
You must be signed in to change notification settings - Fork 626
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
56 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b2cab76
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has the potential to break (and in my case, broke) existing code. The latest release deserved a major version bump.
b2cab76
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When we tested this, it still worked with the old lookup using number.format.delimiter, etc. Are you saying this isn't the case. If so, can you provide us a bug report. It's not really helpful to tell someone "this has the potential to break..." and not provide an example of how. And honestly, when someone leaves a comment with no details and acts like we don't know how to version stuff, it's likely we just won't respond. It's not helpful.
b2cab76
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, was a bit curt at the end of a brain-frying day.
To make a long story short, we have a Rails app that uploads inventory files to various countries in multiple currencies. Prior to 3.6.2, a thousand Euros formatted as €1.000,00. With 3.6.2, it formats as €1,000.00 (because the application locale is English?).
As incredulous as it may sound, this change would have called for a major version bump.
b2cab76
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The patch was done to read from "number.currency.format." for i18n instead of "number.format." So it shouldn't have changed anything for you unless the two are set differently. Can you open an issue for this, it will be easier to track and we can get @weppos involved who works on this project and the rails-i18n project and might have more insite on this.