ZOYKU火线榜

meinchord7/timezone-check技术文档

meinchord7/timezone-check documentation on GitHub Hot

目录大纲 (TOC) (3 章节)▾
多语言回退提示:当前仓库原作者暂未发布本地化文档,已为您无缝切换至官方英文原版(English),排版及代码实例完整保真。
极速安装
git clone https://github.com/meinchord7/timezone-check.git

Timezone Check

A tiny, dependency-free page that shows the current time in a chosen city and the hour offset from your own timezone and from Los Angeles.

Features

  • Text input with a datalist of common cities mapped to IANA time zone names
  • Live local time in the chosen zone, updated every second with Intl.DateTimeFormat
  • Hour offset versus the visitor’s timezone and versus America/Los_Angeles
  • A short list of default cities that stays on the page
  • Mobile-friendly layout, with light and dark colors from prefers-color-scheme
  • No libraries and no network requests

Usage

Open index.html in a browser, or enable GitHub Pages for this repository (serve the root) and open the published site.

License

MIT. See LICENSE. Copyright 2026 meinchord7.

文档镜像归档自 GitHub 官方源路径 · 访问原项目 GitHub
最后同步快照:2026-11-09