Explicitly list inch and feet as available length units
This commit is contained in:
parent
78e4edab74
commit
f65ec3fe14
|
@ -11,7 +11,7 @@ declare(strict_types = 1);
|
||||||
*/
|
*/
|
||||||
final class MDUnitsSet extends MDValueSet {
|
final class MDUnitsSet extends MDValueSet {
|
||||||
|
|
||||||
const UNITS_LENGTH = ['', 'm', 'dm', 'cm', 'mm'];
|
const UNITS_LENGTH = ['', 'm', 'dm', 'cm', 'mm', 'ft', 'in'];
|
||||||
const UNITS_WEIGHT = ['', 't', 'kg', 'g'];
|
const UNITS_WEIGHT = ['', 't', 'kg', 'g'];
|
||||||
|
|
||||||
const UNITS_LENGTH_TO_MILLIMETER = [
|
const UNITS_LENGTH_TO_MILLIMETER = [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user