Skip to content

Commit

Permalink
remove needless Math.abs from pad in getNscaDateTime
Browse files Browse the repository at this point in the history
  • Loading branch information
dotnetCarpenter committed Dec 16, 2017
1 parent f3fce7e commit cf1d6b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ecstatic.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function hasGzipId12(gzipped, cb) {

function getNscaDateTime() {
function pad(number) {
return (number < 10 && '0') + Math.abs(number);
return (number < 10 && '0') + number;
}
function sign(number) {
let prefix = '';
Expand Down

0 comments on commit cf1d6b6

Please sign in to comment.