Skip to content

Commit 24b6f75

Browse files
authored
Merge pull request #6866 from pazuza/locale-pt-br-decimal-thousands
Add 'decimal' and 'thousands' formats for brazilian portuguese locale file
2 parents 620a56b + e2d40ef commit 24b6f75

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

draftlogs/6866_change.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
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!

lib/locales/pt-br.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ module.exports = {
7878
'Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun',
7979
'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'
8080
],
81-
date: '%d/%m/%Y'
81+
date: '%d/%m/%Y',
82+
decimal: ',',
83+
thousands: '.'
8284
}
8385
};

0 commit comments

Comments
 (0)