vscode-gitlens icon indicating copy to clipboard operation
vscode-gitlens copied to clipboard

wrong time in gitlens output log

Open ixff opened this issue 1 year ago • 3 comments

Description

As is shown in the image, system time is different from the time in gitlens log. (System locale is set to Singapore.)

Image

GitLens Version

v15.5.1

VS Code Version

Version: 1.93.1 Commit: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40 Date: 2024-09-11T17:20:05.685Z Electron: 30.4.0 ElectronBuildId: 10073054 Chromium: 124.0.6367.243 Node.js: 20.15.1 V8: 12.4.254.20-electron.0 OS: Windows_NT x64 10.0.19045

Git Version

git version 2.45.1.windows.1

Logs, Screenshots, Screen Captures, etc

No response

ixff avatar Oct 03 '24 22:10 ixff

@d13 @eamodio

Yes, I can reproduce: it shows times in UTC. Moreover, I see both:

Image

sergeibbb avatar May 22 '25 11:05 sergeibbb

We always output in UTC, but VS Code recently started auto-adding local time on log lines. Though because we buffer output, it only shows up "randomly".

eamodio avatar May 22 '25 14:05 eamodio

@eamodio

We always output in UTC So, without the VSCode's part, the issue looks like "works as designed". But since the last changes in VSCode, are we going to change it? What about adding a setting that lets user to change our logs to local time?

sergeibbb avatar May 23 '25 10:05 sergeibbb