Skip to content

Commit

Permalink
feat(language-client): modify log time format (#5130)
Browse files Browse the repository at this point in the history
same as VSCode's `new Date().toLocaleTimeString()`
  • Loading branch information
fannheyward authored Aug 28, 2024
1 parent 53e21a9 commit d4ff928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/language-client/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function toMethod(type: string | MessageSignature): string {
}

export function currentTimeStamp(): string {
return getTimestamp(new Date())
return new Date().toLocaleTimeString()
}

export function getTraceMessage(data: any): string {
Expand Down

0 comments on commit d4ff928

Please sign in to comment.