There once was an unnecessary ISO date string fill

This commit is contained in:
Asher 2019-01-30 13:27:21 -06:00 committed by Kyle Carberry
parent 8654f9cb06
commit 8fc959e256
No known key found for this signature in database
GPG Key ID: A0409BDB6B0B3EDB
1 changed files with 1 additions and 2 deletions

View File

@ -11,13 +11,12 @@ import { Client as IDEClient, IURI, IURIFactory } from "@coder/ide";
import { registerContextMenuListener } from "vs/base/parts/contextmenu/electron-main/contextmenu";
import { LogLevel } from "vs/platform/log/common/log";
import { toLocalISOString } from "vs/base/common/date";
// import { RawContextKey, IContextKeyService } from "vs/platform/contextkey/common/contextkey";
import { URI } from "vs/base/common/uri";
export class Client extends IDEClient {
private readonly windowId = parseInt(toLocalISOString(new Date()).replace(/[-:.TZ]/g, ""), 10);
private readonly windowId = parseInt(new Date().toISOString().replace(/[-:.TZ]/g, ""), 10);
protected initialize(): Promise<void> {
registerContextMenuListener();