mirror of https://github.com/coder/code-server.git
There once was an unnecessary ISO date string fill
This commit is contained in:
parent
8654f9cb06
commit
8fc959e256
|
@ -11,13 +11,12 @@ import { Client as IDEClient, IURI, IURIFactory } from "@coder/ide";
|
||||||
|
|
||||||
import { registerContextMenuListener } from "vs/base/parts/contextmenu/electron-main/contextmenu";
|
import { registerContextMenuListener } from "vs/base/parts/contextmenu/electron-main/contextmenu";
|
||||||
import { LogLevel } from "vs/platform/log/common/log";
|
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 { RawContextKey, IContextKeyService } from "vs/platform/contextkey/common/contextkey";
|
||||||
import { URI } from "vs/base/common/uri";
|
import { URI } from "vs/base/common/uri";
|
||||||
|
|
||||||
export class Client extends IDEClient {
|
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> {
|
protected initialize(): Promise<void> {
|
||||||
registerContextMenuListener();
|
registerContextMenuListener();
|
||||||
|
|
Loading…
Reference in New Issue