Bläddra i källkod

Fxies #1865 out of range date option

main
Eric Amodio 2 år sedan
förälder
incheckning
397f718d99
2 ändrade filer med 2 tillägg och 1 borttagningar
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/system/date.ts

+ 1
- 0
CHANGELOG.md Visa fil

@ -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 Visa fil

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

Laddar…
Avbryt
Spara