Merge pull request #5599 from NotSaifA/fix-release-date

This commit is contained in:
Bill Thornton 2024-05-25 02:22:19 -04:00 committed by GitHub
commit 1ea598968c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,7 +49,7 @@ export function parseISO8601Date(s, toLocal) {
ms += offset;
}
} else if (toLocal === false) {
ms += new Date().getTimezoneOffset() * 60000;
ms += new Date(ms).getTimezoneOffset() * 60000;
}
return new Date(ms);