We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cb452ea + 11ae8fd commit e2ccd5dCopy full SHA for e2ccd5d
src/scripts/baseline-browser-versions.ts
@@ -423,7 +423,7 @@ export function getCompatibleVersions(userOptions?: Options): BrowserVersion[] {
423
424
// Sets a cutoff date for feature interoperability 30 months before the stated date
425
if (options.widelyAvailableOnDate || options.targetYear === undefined) {
426
- targetDate.setMonth(new Date().getMonth() - 30);
+ targetDate.setMonth(targetDate.getMonth() - 30);
427
}
428
429
let coreBrowserArray = getCoreVersionsByDate(
0 commit comments