ZenTimings icon indicating copy to clipboard operation
ZenTimings copied to clipboard

"," and "." in voltages

Open SnIPeRSnIPeR opened this issue 1 year ago • 3 comments

In 1.32 I see "," and "." in voltages, instead of just "."...

2024-08-09_17-39-50

Can you fix that?

SnIPeRSnIPeR avatar Aug 09 '24 10:08 SnIPeRSnIPeR

Something with the locale, will have to take a look and make sure all values use the same formatting. Does it happen with the recent version only? I have changed the place some values are read from, maybe that is contributing to the issue. Everything looks fine on my machine, but I have en-US with custom date and clock format. I think it comes from the toString() method, but not sure why it differs for different values.

irusanov avatar Aug 09 '24 18:08 irusanov

Something with the locale, will have to take a look and make sure all values use the same formatting. Does it happen with the recent version only? I have changed the place some values are read from, maybe that is contributing to the issue. Everything looks fine on my machine, but I have en-US with custom date and clock format. I think it comes from the toString() method, but not sure why it differs for different values.

Yep, I see this only with the recent version :)

1.31, for example: ZenTimings_Screenshot_28626332 1609445_Работает без ошибок

SnIPeRSnIPeR avatar Aug 09 '24 23:08 SnIPeRSnIPeR

Ok, it seems the values that now are provided by the dll and not the main app are with different CultureInfo (sort of an locale formatting).

irusanov avatar Aug 10 '24 00:08 irusanov

This should be fixed long time ago, let me know if it is not, so I can reopen.

irusanov avatar Oct 10 '25 11:10 irusanov