| @@ -82,6 +82,16 @@ math.createUnit("timezones", { | |||||
| prefixes: "long", | prefixes: "long", | ||||
| aliases: ["timezone", "timezones"] | aliases: ["timezone", "timezones"] | ||||
| }); | }); | ||||
| math.createUnit("nauticalMiles", { | |||||
| definition: "6080 feet", | |||||
| prefixes: "long", | |||||
| aliases: ["nauticalMile", "nauticalMiles"] | |||||
| }); | |||||
| math.createUnit("fathoms", { | |||||
| definition: "6 feet", | |||||
| prefixes: "long", | |||||
| aliases: ["fathom", "fathoms"] | |||||
| }); | |||||
| math.createUnit("earths", { | math.createUnit("earths", { | ||||
| definition: "12756km", | definition: "12756km", | ||||
| @@ -317,7 +327,9 @@ const unitChoices = { | |||||
| "customary": [ | "customary": [ | ||||
| "inches", | "inches", | ||||
| "feet", | "feet", | ||||
| "yards", | |||||
| "miles", | "miles", | ||||
| "nauticalMiles", | |||||
| ], | ], | ||||
| "relative": [ | "relative": [ | ||||
| "humans", | "humans", | ||||
| @@ -340,7 +352,8 @@ const unitChoices = { | |||||
| "points", | "points", | ||||
| "smoots", | "smoots", | ||||
| "furlongs", | "furlongs", | ||||
| "HUs" | |||||
| "HUs", | |||||
| "fathoms", | |||||
| ] | ] | ||||
| }, | }, | ||||
| area: { | area: { | ||||