astro.Function.formatSystemName - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / astro / formatSystemName
formatSystemName(
parts):string
Defined in: src/astro/system-name.ts:224
Format parts back into a system name. N1 (and its hyphen) is omitted when zero, matching the in-game rendering.
The system-name parts to render.
string
The system name, e.g. Synuefe EN-H d11-96.
Letters and mass code are rendered from their numeric indices, so they always
come out canonically cased. The regionName, however, is emitted as stored —
formatSystemName does not re-case it. Round-tripping a lower-cased name through
parseSystemName → formatSystemName therefore keeps the region's original
casing (synuefe EN-H d11-96); for a fully canonical name use
canonicalizeSystemName or ProceduralSystem.fromName(...).name.