浏览代码

Fixed missing space for singular customary tons

tags/v0.7.0
Fen Dweller 7 年前
父节点
当前提交
ca0f3f952a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      units.js

+ 1
- 1
units.js 查看文件

@@ -140,7 +140,7 @@ function customaryMass(kg, singular=false) {
return mass + (singular || mass == 1 ? " pound" : " pounds");
} else {
let mass = round(lbs / 2000,1);
return mass + (singular || mass == 1 ? "ton" : " tons");
return mass + (singular || mass == 1 ? " ton" : " tons");
}
}



正在加载...
取消
保存