Преглед на файлове

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() {

Зареждане…
Отказ
Запис