World Clock card

Several cities’ times at once, with day and night, tomorrow and yesterday, and each city’s offset from here.

Display supplied cities as digital times or analog dials, with day and night, date differences and offsets from the screen’s zone. A chosen home city stands out. Primetime adds a restrained shared entrance and quiet cues at local date and day/night boundaries.

Live card

This card is drawn in your browser by the same code the Players run, with sample data.

Category: Time. Tags: Clocks and calendars, Offices and workplaces, Lobbies and reception.

Data and privacy

This card uses its configured properties and live card data.

Properties

For theme, background, accent, colour overrides and position, see Common properties.

Static properties

NameTypeDefaultValues and limitsDescription
citiesarrayminItems: 2; maxItems: 12; Required
cities[].labelstringminLength: 1; maxLength: 40; Required
cities[].timeZonestringminLength: 1; maxLength: 64; RequiredIANA zone.
hour12booleanfalse
showSecondsbooleanfalse
showDatebooleantrueShow Tomorrow, Yesterday or the weekday under each city.
facestring"digital""digital", "analog"
highlightinteger-1minimum: -1; maximum: 11Index of a home city to emphasise; -1 for none.

Dynamic properties

This card has no dynamic properties.

Example params

{
  "theme": "neomustard",
  "cities": [
    {
      "label": "Example",
      "timeZone": "Example"
    },
    {
      "label": "Example",
      "timeZone": "Example"
    }
  ]
}
screenrig card create --type world-clock --major 1 --file params.json --context-file context.md

Layouts

This fullscreen card fills the whole screen in landscape or portrait and is not placed as a corner, chip, or strip.

Layouts: full. Forms: landscape, portrait.

Use this card

Add this card to a playlist as in Publish a card canvas and place it with the layouts and anchors.