-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cancel switch off pop-up not showing #318
Comments
that's interesting |
|
|
I don't know if it helps but in the pc I usually use(the one with W11) I have the system language in English but some regional settings(like time/date format, keyboard layout, etc...) in Italian |
hmmm... if you sure that new Intl.NumberFormat('en', {
style: "unit",
unitDisplay: "long",
minimumFractionDigits: 1,
maximumFractionDigits: 1,
unit: "minute"
}).format(5) the output should be and if it fails, also try this one: new Intl.NumberFormat(undefined, {
style: "unit",
unitDisplay: "long",
minimumFractionDigits: 1,
maximumFractionDigits: 1,
unit: "minute"
}).format(5) |
Yep, the output is correct in both cases, this evening I'll try on my main PC |
Then I don't understand the cause for the error. |
The only way to achieve that error is having incorrect value of |
But I'm going to apply my fix for that case and we'll see how it will work for you, @ch3p4ll3 |
@ch3p4ll3 , please try to install version
Let me know if it fixes the issue. |
So, I checked the locale on my main PC and it's new Intl.NumberFormat('it_IT', {
style: "unit",
unitDisplay: "long",
minimumFractionDigits: 1,
maximumFractionDigits: 1,
unit: "minute"
}).format(5) Btw with this prerelease the problem is fixed. Ty |
Great. Yes, |
are you using this Italian localization pack by chance, @ch3p4ll3 ? I just would like to understand the cause of that error better. |
Nope |
OK, thank you. In 5.1 (after we fix this issue) I will add another intermediate fallback that would try replacing |
if I remember correctly, a pop-up once came up so that the countdown could be stopped if the relay is set to turn off at the end of a print job.
The pop-up is not displayed and this error comes up in the console:
The text was updated successfully, but these errors were encountered: