Skip to content

Commit

Permalink
Malaysia is metric (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
incognitojam authored Jun 20, 2024
1 parent 6129905 commit bd8b8db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/conversions.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ let metric = null;
export const isMetric = () => {
if (metric === null) {
// Only a few countries use imperial measurements
metric = ['en-us', 'en-gb', 'my'].indexOf(window.navigator.language.toLowerCase()) === -1;
metric = ['en-us', 'en-gb'].indexOf(window.navigator.language.toLowerCase()) === -1;
}

return metric;
Expand Down

0 comments on commit bd8b8db

Please sign in to comment.