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
calculation for seconds is not using right search pattern for decimal numbes like 21.45 (function returns 45)
so use $pattern = '/([\d.]+)' . $secondsSymbol . '/u';
The text was updated successfully, but these errors were encountered:
Could you @Citydampf please put here use case you used in order to reproduce the issue.
Which format did you use to write coordinates?
If we use format like this for example 45.33445, 19.98876 the input field will accept it and the map will be automatically updated.
For this way of writing coordinates it will not jump into the coordinatePartToNumber() function which has this $pattern = '/(\d+)' . $secondsSymbol . '/u'; inside.
It will only trigger that function if coordinates have string inside, like N or S, for latitude.
mediawiki-extensions-PageForms/includes/forminputs/PF_OpenLayersInput.php
Line 234 in 3b1bb66
calculation for seconds is not using right search pattern for decimal numbes like 21.45 (function returns 45)
so use $pattern = '/([\d.]+)' . $secondsSymbol . '/u';
The text was updated successfully, but these errors were encountered: