Просмотр исходного кода

Fxies #1865 out of range date option

main
Eric Amodio 2 лет назад
Родитель
Сommit
397f718d99
2 измененных файлов: 2 добавлений и 1 удалений
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/system/date.ts

+ 1
- 0
CHANGELOG.md Просмотреть файл

@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Fixed
- Fixes [#1865](https://github.com/gitkraken/vscode-gitlens/issues/1865) - Value shortOffset out of range for Intl.DateTimeFormat options property timeZoneName
- Fixes [#1742](https://github.com/gitkraken/vscode-gitlens/issues/1742) - New file lines keep jumping down
- Fixes [#1846](https://github.com/gitkraken/vscode-gitlens/issues/1846) - Restoring (checkout) a deleted file from a commit doesn't work
- Fixes [#1844](https://github.com/gitkraken/vscode-gitlens/issues/1844) - Autolinked issues aren't properly paged when there are too many commits

+ 1
- 1
src/system/date.ts Просмотреть файл

@ -265,7 +265,7 @@ function getDateTimeFormatOptionsFromFormatString(
options.hour12 = true;
break;
case 'timeZoneName':
options.timeZoneName = (value.length === 2 ? 'longOffset' : 'shortOffset') as any;
options.timeZoneName = value.length === 2 ? 'long' : 'short';
break;
}
}

Загрузка…
Отмена
Сохранить