Quellcode durchsuchen

Fxies #1865 out of range date option

main
Eric Amodio vor 2 Jahren
Ursprung
Commit
397f718d99
2 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/system/date.ts

+ 1
- 0
CHANGELOG.md Datei anzeigen

@ -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 Datei anzeigen

@ -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;
}
}

Laden…
Abbrechen
Speichern