readmes

Live local-time clock for your profile

Show collaborators what time it is where you are, and whether you are likely to answer. The clock keeps ticking after the page loads, and it works on GitHub without any scripts.

URL builder

Preview

Preview of the configured clock

All options

Options are path segments after https://readmes.pages.dev/clock/, in any order. A trailing .svg is allowed. An unknown option renders a small error badge.

Time zone

OptionEffect
<zone>IANA time zone, lowercased, with / written as -. Examples: asia-tokyo, europe-berlin, america-new_york, america-argentina-buenos_aires.
utcCoordinated Universal Time (default).
utc+9, utc-5, utc+0530A fixed offset from UTC, without daylight saving time.

Clock

OptionEffect
digital, analogClock style (default digital).
12h, 24hHour format for the digital clock (default 24h).
secondsShow seconds (a second hand on the analog clock).
size-NSize in pixels, 16 to 96 (default 40); also in rem, e.g. size-2rem (1rem = 16px).
pxPin the image to exact pixels. By default it is sized in rem, so it grows with the reader's browser font size.

Annotation

OptionEffect
label-city, label-local, label-my, nolabelFirst line: "Tokyo" (default), "Local time in Tokyo", "My time in Tokyo", or nothing.
nooffsetHide the UTC offset, which is shown by default.
dateAdd the weekday and date.
work-H-HWorking hours, e.g. work-9-18. Adds a live status line: working hours, off hours, weekend or probably asleep.
sleep-H-HSleeping hours for the status line (default sleep-23-7).
days-mon-fri, everydayWhich days are working days (default Monday to Friday).
kaomojiAdd a small face to the status line. Without work hours it shows morning, daytime, evening or night.

Look

OptionEffect
cardRounded card background.
border-NCard border in pixels, 0 to 8; implies card.
color-RRGGBBAccent and time color as 3 or 6 hex digits without #.
auto, light, dark, transparentTheme (default auto).

How it keeps time

The server draws the current time in your zone, including daylight saving time. Inside the image, each digit is a column of all its possible values, and CSS slides each column at the right speed. The clock therefore keeps running for as long as the page stays open. The image is never cached, so every page load starts from the exact time.