(n, width, z)
| 12 | } |
| 13 | |
| 14 | function pad(n, width, z) { |
| 15 | z = z || '0'; |
| 16 | n = n + ''; |
| 17 | return n.length >= width ? n : new Array(width - n.length + 1).join(z) + n; |
| 18 | } |
| 19 | |
| 20 | module.exports = { |
| 21 | getDateTime, |
no outgoing calls
no test coverage detected