[mirotalksfu] - fix typo

هذا الالتزام موجود في:
Miroslav Pejic
2024-02-22 17:43:16 +01:00
الأصل fb319e8681
التزام 5bdf4ed4f5

عرض الملف

@@ -19,7 +19,7 @@ module.exports = class Logger {
this.timeStart = Date.now(); this.timeStart = Date.now();
this.timeEnd = null; this.timeEnd = null;
this.timeElapsedMs = null; this.timeElapsedMs = null;
this.tmOptions = { this.tzOptions = {
timeZone: process.env.TZ || config.console.timeZone || 'UTC', timeZone: process.env.TZ || config.console.timeZone || 'UTC',
hour12: false, hour12: false,
}; };
@@ -64,7 +64,7 @@ module.exports = class Logger {
} }
getDateTime() { getDateTime() {
const currentTime = new Date().toLocaleString('en-US', this.tmOptions); const currentTime = new Date().toLocaleString('en-US', this.tzOptions);
const milliseconds = String(new Date().getMilliseconds()).padStart(3, '0'); const milliseconds = String(new Date().getMilliseconds()).padStart(3, '0');
return colors.cyan(`${currentTime}:${milliseconds}`); return colors.cyan(`${currentTime}:${milliseconds}`);
} }