Pebble App Framework: Phone API
    Preparing search index...

    Function toWire

    • The "offset,label" a timezone field sends the watch, with the offset read off the saved zone.

      A value saved before the zone was kept goes out with the offset it saved, since that is all there is to go on. The label is flattened to ASCII because the watch header fonts carry no glyph for an accented letter and draw it as a box.

      Parameters

      • saved: unknown

        What Clay persisted for the field, normally the place as JSON.

      • nowMs: number

        The moment to read the zone at, as epoch milliseconds.

      Returns string

      The string for the watch, or an empty string when nothing is saved yet.