Luxar Viewer API Documentation - v2026.10.22
    Preparing search index...
    • A period in the unit it reads best in: the largest unit it is a whole number of (90 s stays seconds, 7200 s is 2 h, 5000 s stays an exact 5000 s), else the largest unit it is at least one of, rounded to 3 significant digits for a label (5400.5 s is 1.5 h; the Custom field is seeded with SEED_DIGITS). Under a second stays in seconds.

      Parameters

      • seconds: number

      Returns { amount: number; unit: "s" | "min" | "d" | "h" }