From d8079195583a1cc2f6fcc733ac66bee9138da000 Mon Sep 17 00:00:00 2001 From: Menci Date: Sat, 18 Mar 2017 02:04:51 +0800 Subject: [PATCH] Fix typo '-' and '?' --- utility.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utility.js b/utility.js index a56729d..ee7e9df 100644 --- a/utility.js +++ b/utility.js @@ -96,7 +96,7 @@ module.exports = { return m.format(format || 'L H:mm:ss'); }, formatTime(x) { - let sgn = x < 0 ? '?' : ''; + let sgn = x < 0 ? '-' : ''; x = Math.abs(x); function toStringWithPad(x) { x = parseInt(x);