ソースを参照

Fixes #1601: normalizes time example to local time

main
Eric Amodio 2年前
コミット
473ecfe558
2個のファイルの変更5行の追加1行の削除
  1. +1
    -0
      CHANGELOG.md
  2. +4
    -1
      src/webviews/apps/shared/appWithConfigBase.ts

+ 1
- 0
CHANGELOG.md ファイルの表示

@ -28,6 +28,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- Fixes [#1572](https://github.com/gitkraken/vscode-gitlens/issues/1572) - Forced regular expression search in changes
- Fixes [#1473](https://github.com/gitkraken/vscode-gitlens/issues/1473) - Support VSCodium in interactive rebase editor
- Fixes [#1699](https://github.com/gitkraken/vscode-gitlens/issues/1699) - Exception has occurred: RangeError [ERR_OUT_OF_RANGE]
- Fixes [#1601](https://github.com/gitkraken/vscode-gitlens/issues/1601) - Add a better time sample in "Dates & Times" setting
- Fixes performance issue with the rich hover on the status bar blame
- Fixes cross repository branch switching via the _Git Command Palette_
- Fixes an issue with TOC entries in the VS Code settings editor

+ 4
- 1
src/webviews/apps/shared/appWithConfigBase.ts ファイルの表示

@ -13,7 +13,10 @@ import { getDateFormatter } from '../shared/date';
import { App } from './appBase';
import { DOM } from './dom';
const dateFormatter = getDateFormatter(new Date('Wed Jul 25 2018 19:18:00 GMT-0400'));
const offset = (new Date().getTimezoneOffset() / 60) * 100;
const dateFormatter = getDateFormatter(
new Date(`Wed Jul 25 2018 19:18:00 GMT${offset >= 0 ? '-' : '+'}${String(Math.abs(offset)).padStart(4, '0')}`),
);
let ipcSequence = 0;
function nextIpcId() {

読み込み中…
キャンセル
保存