We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5546ffa commit 2b348f4Copy full SHA for 2b348f4
lib/formatters.js
@@ -21,6 +21,7 @@ exports.formatAmount = function (amount) {
21
amount.substring(amount.length - 2, amount.length),
22
2
23
)
24
+
25
let integers = exports.addTrailingZeros(
26
amount.substring(0, amount.length - 2),
27
1
@@ -89,9 +90,11 @@ exports.fatorVencimento = function (date) {
89
90
const parsedDate = moment(date)
91
.utc()
92
.format('YYYY-MM-DD')
93
94
const startDate = moment('1997-10-07')
95
96
97
98
return exports.addTrailingZeros(moment(parsedDate).diff(startDate, 'days'), 4)
99
}
100
0 commit comments