16:08
<devsnek>
would be cool if intl provided stuff like parsing localized numbers
16:17
<ryzokuken>
devsnek: parsing is explicitly out of scope for Intl
16:17
<ryzokuken>
see tc39/ecma402#1
16:18
<devsnek>
you mean "scope"?
16:18
<devsnek>
or
16:18
<devsnek>
oh an issue
16:18
<ryzokuken>
https://github.com/tc39/ecma402/issues/1 yeah
16:19
<devsnek>
i'm not asking to parse dates (yet)
16:19
<devsnek>
idk seems weird to unilaterally draw a line there
16:19
<ryzokuken>
they do talk about numbers here as well
16:19
<ryzokuken>
maybe https://blog.sffc.xyz/post/190943794505/why-you-should-not-parse-localized-strings will be helpful?
16:21
<devsnek>
input type=number is just Number() lol
16:23
<ryzokuken>
lol maybe not the best example
16:23
<ryzokuken>
btw, is that mandated by the spec?
16:25
<devsnek>
it uses this https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#rules-for-parsing-floating-point-number-values
16:25
<devsnek>
so not literally Number() but
16:25
<devsnek>
just as not locale friendly as using Number()
16:28
<devsnek>
so far i've built this evil thing https://gc.gy/a45f7c47-5e4d-432b-8f16-82be9b79c69d.png
16:33
<Jack Works>
so far i've built this evil thing https://gc.gy/a45f7c47-5e4d-432b-8f16-82be9b79c69d.png
Can you try parse this with following? zh or ja with 三千六百五十四
16:34
<devsnek>
yeah it won't work
16:34
<devsnek>
lol
16:34
<Jack Works>
😂
16:34
<devsnek>
cuz after this stage it still goes into Number()
16:34
<devsnek>
so arabic numerals only