Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is the lib prepared to deal with translations of numbers and dates? #43

Closed
juanjo opened this issue Mar 14, 2022 · 1 comment
Closed

Comments

@juanjo
Copy link

juanjo commented Mar 14, 2022

I have been trying your lib, and it works really nice. Thank you.
I need to translate the format of dates and numbers (currency), is it the library prepared?
Do you have at hand any example how to do so with this lib?

For example:

<div>{$number(100000000)}</div>
<!-- 100,000,000 -->

<div>{$number(100000000, { locale: 'pt' })}</div>
<!-- 100.000.000 -->

Thank you in advance,
J.

@jarda-svoboda
Copy link
Member

hi @juanjo – sure.) see number or date modifier in this example

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

No branches or pull requests

2 participants