Calm motion: animations on this site only fade, with no movement
World clock
The time now in several time zones
Shows the time in the cities of a team, side by side, so you can find a good time for a call. For a field that chooses one time zone, use the time zone picker.
Basic
- Jakarta studio
- Tokyo
- Berlin
- New York editor
- Los Angeles
zonesis a list of IANA zone names, such asAsia/Jakarta, or of objects with azoneand alabel. With no label, the clock shows the city of the zone.- Each clock shows the time, the day compared with the zone of the reader ("today", "tomorrow"), and the offset from UTC. Set
hometo compare the days with a different zone. - From 18:00 to 6:00, a clock has the dark plate, so night hours show at a glance.
localesets the language of the times and the day words (default English).hour12sets a 12-hour or 24-hour clock. The default is the habit of the locale.- The clocks start after the page loads, because the server does not know the time of the reader. Before that, each clock shows "--:--". The clocks update every 15 seconds. A fixed
nowstops them, for example in a screenshot.
Usage
ts
import { BlessWorldClock } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
zones* | (string | BlessClockZone)[] | — | |
locale | string | "en" | language of the times and the day words, for example `id`. Default: English. |
hour12 | boolean | undefined | a 12-hour clock; default: the habit of the locale |
home | string | — | the zone that "today" and "tomorrow" compare with; default: the zone of the reader |
now | number | Date | — | a fixed moment; with it the clocks do not run |