javascript.builtins.Intl.Locale.getWeekInfo - deno information is incorrect
What type of issue is this?
Incorrect support data (example: BrowserX says "86" but support was added in "40")
What information was incorrect, unhelpful, or incomplete?
Deno is stated to be using a non-fork, eg (to be using getWeekInfo())
But I have Deno version Deno 1.40.3 and it says this function doesn't exist. But I did find the info using the same 'non-standard fork' that EVERY other browser and runtime is using (other than Firefox, who still has nothing)
I even tried on the stated version of 1.19 thinking it 'was' getWeekInfo() at one point, but it seems even that is incorrect..
(excuse the typo on line 1)
Every single browser seems to be 'non-standard' but they are ALL doing the SAME non-standard.. so it just makes me wonder, is the 'standard' wrong or is every browser wrong?
What browsers does this problem apply to, if applicable?
Deno
What did you expect to see?
I was expecting to find Deno using .getWeekInfo() as stated by the compatibility table.
Did you test this? If so, how?
I did test. I ran the code
const msBN = new Intl.Locale('ms-BN');
msBN.getWeekInfo(); // Throws error
msBN.weekInfo; // { firstDay: 1, weekend: [6, 7], minimalDays: 1 }
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo
Do you have anything more you want to share?
No response
MDN URL
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo
MDN metadata
MDN page report details
- Query:
javascript.builtins.Intl.Locale.getWeekInfo - Report started: 2024-02-01T14:38:15.609Z