Don't use locale strings

For #84803

These can cause issues on node 12
This commit is contained in:
Matt Bierner
2019-11-18 09:34:01 -08:00
parent f101f851f1
commit 5b428d2ec1
2 changed files with 3 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ export class Logger {
public log(message: string, data?: any): void {
if (this.trace === Trace.Verbose) {
this.appendLine(`[Log - ${(new Date().toLocaleTimeString())}] ${message}`);
this.appendLine(`[Log - ${(new Date().toTimeString())}] ${message}`);
if (data) {
this.appendLine(Logger.data2String(data));
}