Local Time Annotator

Append your local time after unambiguous absolute times on any page (e.g. "14:42 UTC" -> " (10:42 AM EDT)"), non-destructively.

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

You will need to install an extension such as Tampermonkey to install this script.

Tendrás que instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Tendrás que instalar una extensión como Tampermonkey antes de poder instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

Autor
Zhi Li
Instalaciones diarias
0
Instalaciones totales
2
Calificaciones
0 0 0
Versión
0.1.0
Creado
29/05/2026
Actualizado
29/05/2026
Tamaño
16.5 KB
Licencia
MIT
Funciona en
Todos los sitios

Appends your local time after any unambiguous absolute time on a web page — non-destructively, inline, on any site.

14:42 UTC            ->  14:42 UTC (10:42 AM EDT)
19:00Z               ->  19:00Z (3:00 PM EDT)
May 29, 08:45 UTC    ->  May 29, 08:45 UTC (4:45 AM EDT)

The original text is never changed — a small, dimmed (…) is added right after it. No configuration: your timezone is detected automatically.

What it annotates

  • <time datetime="…"> elements (most reliable).
  • In-text time + a zero-ambiguity marker: Z / UTC / GMT (optionally with a numeric offset like UTC+8, GMT+5:30) or a bare numeric offset (±HH:MM / ±HHMM). Examples: 14:42 UTC, 19:00Z, 2:42 PM GMT, 09:30 UTC+8, 15:00 -05:00.
  • Split timestamps assembled across inline nodes — e.g. Atlassian Statuspage's May 29, 08:45 UTC, where the time and UTC live in separate elements.

How the conversion works

The source offset is parsed, the absolute instant is computed, and that instant is formatted in your local zone via Intl.DateTimeFormat. Daylight saving is resolved per-instant by the browser — never hand-computed — so spring/fall transitions are correct. If a time is already in your local zone, nothing is added.

Scope

  • ✅ All sites (*://*/*), static and dynamically loaded content (a scoped MutationObserver catches late-rendered times).
  • ✅ Automatic local timezone; English-style output (10:42 AM EDT).
  • ⚠️ Named abbreviations (EDT, CST, …) are not matched — CST alone is ambiguous (China / US-Central / Cuba).
  • ⚠️ Relative times (2 hours ago) and bare ISO strings embedded in prose are skipped.
  • ⚠️ <input> / <textarea> / <code> / <pre> / contenteditable are left alone.

Performance & safety

A cheap pre-test gates the page scan, formatters are cached, and DOM writes are isolated from the observer, so re-matchable output (like GMT+8) never re-annotates itself and there is no CPU spin.

Feedback

Open an issue. Full docs and test cases: GitHub README; changelog: CHANGELOG.


Other scripts by the same author