How krushnamajhi/world-clock works
World-clock is a small browser app: a user chooses a continent and country, then sees the local time for that selection. clock.js populates the selectors from the timezone catalog in timezones.js and updates the displayed time. The README and excerpts are minimal; the HTML structure is represented by the tree, but its contents were not sampled.
Main entry points: clock.js Clock logic · index.html Clock page · timezones.js Timezone catalog
Components 4
Other components
- User
- Clock page
index.html - Clock logic
clock.js - Timezone catalog
timezones.js
Connections 5
- User → Clock page: opens
- Clock page → Clock logic: loads
- Clock logic → Timezone catalog: reads
- Clock logic → Clock page: updates controls and time
- User → Clock logic: changes selection