We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
widelyAvailableOnDate
1 parent cb452ea commit 11ae8fdCopy full SHA for 11ae8fd
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