rsibot-utils 1.3.7 → 1.3.8
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -10,7 +10,7 @@ function sortByPercent(a, b) {
|
|
10
10
|
return b.percentChange - a.percentChange;
|
11
11
|
}
|
12
12
|
function write(msg, isError = false) {
|
13
|
-
let dateStr = new Date().toLocaleString('
|
13
|
+
let dateStr = new Date().toLocaleString('Israel');
|
14
14
|
let prefixType = isError ? '[ERROR]' : '[LOG]';
|
15
15
|
|
16
16
|
fs.appendFileSync(path.resolve(LOGS_PATH), `${dateStr}-${prefixType} ${msg}\n`, 'utf8');
|