Add inch and feet as allowed units
This commit is contained in:
parent
a86a37e888
commit
78e4edab74
2
l18n
2
l18n
|
@ -1 +1 @@
|
||||||
Subproject commit 849bf8870d0025a655b21b811781e9827e25caa4
|
Subproject commit f0417c7857c626d0ed7769b037ecd5a8519ed906
|
|
@ -16,7 +16,9 @@ final class MDUnitsSet extends MDValueSet {
|
||||||
|
|
||||||
const UNITS_LENGTH_TO_MILLIMETER = [
|
const UNITS_LENGTH_TO_MILLIMETER = [
|
||||||
'm' => 1000,
|
'm' => 1000,
|
||||||
|
'ft' => 304.8,
|
||||||
'dm' => 100,
|
'dm' => 100,
|
||||||
|
'in' => 25.4,
|
||||||
'cm' => 10,
|
'cm' => 10,
|
||||||
'mm' => 1,
|
'mm' => 1,
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user