提交 093b3d6a 编写于 作者: M Matthew Draper

Merge pull request #21914 from zachalewel/zachalewel-patch-1

Update CHANGELOG.md for readability
......@@ -35,16 +35,16 @@
*Bernerd Schaefer*
* `number_to_currency` and `number_with_delimiter` now accept custom `delimiter_pattern` option
to handle placement of delimiter, to support currency formats like INR
Example:
* `number_to_currency` and `number_with_delimiter` now accept a custom `delimiter_pattern` option
to handle placement of delimiter, to support currency formats like INR.
Example:
number_to_currency(1230000, delimiter_pattern: /(\d+?)(?=(\d\d)+(\d)(?!\d))/, unit: '₹', format: "%u %n")
# => '₹ 12,30,000.00'
# => '₹ 12,30,000.00'
*Vipul A M*
* Make `disable_with` the default behavior for submit tags. Disables the
button on submit to prevent double submits.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册