Add inch and feet as allowed units

This commit is contained in:
Joshua Ramon Enslin 2022-09-02 01:01:16 +02:00
parent a86a37e888
commit 78e4edab74
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE
2 changed files with 3 additions and 1 deletions

2
l18n

@ -1 +1 @@
Subproject commit 849bf8870d0025a655b21b811781e9827e25caa4 Subproject commit f0417c7857c626d0ed7769b037ecd5a8519ed906

View File

@ -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,
]; ];