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

Configuring numeral js language #46

Open
gastonmorales opened this issue Sep 25, 2019 · 1 comment
Open

Configuring numeral js language #46

gastonmorales opened this issue Sep 25, 2019 · 1 comment

Comments

@gastonmorales
Copy link

I am trying to change the numeralJS default settings (to pt-br BTW) but until now all my efforts has been in vain. I am assuming that the table and number widgets use numeralJS functions to format numbers. If not, please advise me how to do so.

Thanks.

@baumandm
Copy link
Collaborator

Hi, did you try adding a new script to the Scripts section of the dashboard, with a NumeralJS locale change?

// switch between locales
numeral.locale('pt-br');

I'd expect that to work, if it's not let me know and I'll do some debugging.

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