Skip to content

Commit

Permalink
Merge pull request #6866 from pazuza/locale-pt-br-decimal-thousands
Browse files Browse the repository at this point in the history
Add 'decimal' and 'thousands' formats for brazilian portuguese locale file
  • Loading branch information
archmoj committed Jan 25, 2024
2 parents 620a56b + e2d40ef commit 24b6f75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions draftlogs/6866_change.md
@@ -0,0 +1 @@
- Add 'decimal' and 'thousands' formats for Brazilian Portuguese locale file [[#6866](https://github.com/plotly/plotly.js/pull/6866)], with thanks to @pazuza for the contribution!
4 changes: 3 additions & 1 deletion lib/locales/pt-br.js
Expand Up @@ -78,6 +78,8 @@ module.exports = {
'Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun',
'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'
],
date: '%d/%m/%Y'
date: '%d/%m/%Y',
decimal: ',',
thousands: '.'
}
};

0 comments on commit 24b6f75

Please sign in to comment.