From d1d5833a768274af776715968b3a6f15028bcc1b Mon Sep 17 00:00:00 2001 From: printfn Date: Tue, 1 Oct 2024 09:21:14 +0000 Subject: [PATCH] Add light_speed/lightspeed unit --- core/src/units/builtin.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/units/builtin.rs b/core/src/units/builtin.rs index ba1748cf..e5916c69 100644 --- a/core/src/units/builtin.rs +++ b/core/src/units/builtin.rs @@ -466,6 +466,8 @@ const COMMON_PHYSICAL_UNITS: &[UnitTuple] = &[ ("light_minute", "light_minutes", "c minute", ""), ("light_hour", "light_hours", "c hour", ""), ("light_day", "light_days", "c day", ""), + ("light_speed", "", "c", ""), + ("lightspeed", "", "c", ""), ("parsec", "parsecs", "l@au / tan(arcsec)", ""), ("pc", "", "s@parsec", ""), (