Single-page world clock web app. Shows the current time in cities around the world with no build tools, no dependencies — pure HTML/CSS/JS in a single file.
- Add cities from a searchable autocomplete (200+ cities, Americas-heavy)
- Each card shows local time, date, country, and UTC offset
- DST badge next to the offset when the city is currently observing Daylight Saving Time
- Mark a home city (highlighted card, cannot be removed while set)
- Manual drag & drop reordering (desktop only)
- ORD button: sort cards by local time ascending, then north-to-south (desktop only)
- Light/dark theme toggle, persisted in localStorage
- Spanish/English toggle, auto-detected from browser language
- Fully responsive grid layout
Open index.html directly in a browser — no server required.
- Zero dependencies, zero build step
Intl.DateTimeFormatfor timezone handlinglocalStoragefor persistence (cities, theme, language, home city)- DST detection via Jan/Jun UTC offset comparison — works for both hemispheres
Miguel, with help from Claude Code.