Skip to content

Unit: Fix formatUnit to display formatted number with compound units#839

Merged
rxaviers merged 1 commit into
globalizejs:masterfrom
EdwardSalter:fix-838
Aug 21, 2018
Merged

Unit: Fix formatUnit to display formatted number with compound units#839
rxaviers merged 1 commit into
globalizejs:masterfrom
EdwardSalter:fix-838

Conversation

@EdwardSalter
Copy link
Copy Markdown
Contributor

When using compound units with the formatUnit function, it now correctly displays the formatted value and instead of dumping the raw value into the message.

@jsf-clabot
Copy link
Copy Markdown

jsf-clabot commented Jul 27, 2018

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Edward Salter seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.

@EdwardSalter
Copy link
Copy Markdown
Contributor Author

I have now signed the CLA.

@EdwardSalter EdwardSalter changed the title Fix #838: formatUnit now displays formatted number with compound units Unit: Fix formatUnit to display formatted number with compound units Jul 27, 2018
@EdwardSalter
Copy link
Copy Markdown
Contributor Author

Fixes #838

@rxaviers
Copy link
Copy Markdown
Member

Good catch! Thanks for your fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants