Skip to main content
100%

Gist 79280caf928b23ee59ac2acd56d84be6

✓ Published0🌍 Public
UUtopiah
Last edited Mar 23, 2020
Created on Mar 23, 2020

This example converts a conference schedule exported from Excel into a localized timetable by manipulating the displayed time values. It shows how the original EDT-based event times are recalculated to reflect the viewer’s timezone, using the browser’s `Date` object and `getTimezoneOffset()` to compute the offset. The script targets specific spreadsheet cells via `document.querySelector` and replaces the “EDT” label with “CET,” while adjusting each event’s hour and minute through string parsing. No external visualization libraries are used; the approach relies purely on vanilla JavaScript DOM manipulation.

AI-generated description

Similar vizzes