Pārlūkot izejas kodu

Fxies #1865 out of range date option

main
Eric Amodio pirms 2 gadiem
vecāks
revīzija
397f718d99
2 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/system/date.ts

+ 1
- 0
CHANGELOG.md Parādīt failu

@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Fixed ### 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 [#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 [#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 - 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 Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt