You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PIWIK 2.3.0, german localisation:
In the row evolution graphs the avg. generation time is displayed rounded to full seconds instead of rounded to two decimal places.
In the english language version this behaviour doesn't occur.
Keywords: row evolution view german localisation
The text was updated successfully, but these errors were encountered:
I could reproduce also. the problem comes from the fact that in German numbers are: 0,8s and this results in the bug (in english they are displayed as 0.8s)
Might be fixed in #6435. Please note even if it seems to be fixed on the current demo it could be still broken depending on which locale Piwik uses to track and archive data.
I just tried to reproduce on demo and it still shows the data in full seconds instead of floats when using German language... I'll have a quick look
I have a fix for this that I will merge as soon as the tests pass. It will now output actual float values but it will use a dot instead of a comma to separate the decimal part which is wrong. I cannot really fix this currently as we need a lib to format numbers in JavaScript depending on the users language/country etc. We should fix this in #6620 and pick a lib there. It shows once more how important this issue is.
I cannot format the number in PHP (I tried it) as it will be converted to float in JavaScript again: parseFloat('0,34') results in 0 as it is not a valid float.
PIWIK 2.3.0, german localisation:
In the row evolution graphs the avg. generation time is displayed rounded to full seconds instead of rounded to two decimal places.
In the english language version this behaviour doesn't occur.
Keywords: row evolution view german localisation
The text was updated successfully, but these errors were encountered: