mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 23:44:47 +02:00
Use metric by default for non-english locales with US country
This commit is contained in:
@@ -147,7 +147,7 @@ export function coreLocalizer() {
|
||||
_languageNames = currentData && currentData.languageNames;
|
||||
_scriptNames = currentData && currentData.scriptNames;
|
||||
|
||||
_usesMetric = _localeCode.toLowerCase() !== 'en-us';
|
||||
_usesMetric = _localeCode.slice(-3).toLowerCase() !== '-us';
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user