Lattice Grid Buy a licence

The grid (core) ยท console.warn

unknown compound unit "{symbol}" in system "{system}"; ignoring it

Printed by The grid (core), prefixed [lattice], since 1.18.0.

Warnings referenceunit:compound:*:*

Identifier
unit:compound:*:*
Raised by
The grid (core)
Since
1.18.0

What happened

A compound rendering lists the units a value is broken across, largest first (1h 5m 3s), and one of the symbols is not in the system. That symbol is dropped from the list and the value is rendered across the units that remain, so a component of the value is folded into the next unit down.

The fix

Use symbols the system defines; the rest of the list is unaffected.

The smallest fix

unit: { system: 'time', unit: 's', compound: ['h', 'm', 's'] }

Reference

Covered in full at the API reference.