alex / nyt-2020-election-scraper

Home Page:https://alex.github.io/nyt-2020-election-scraper/battleground-state-changes.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Show local time in tooltip instead of UTC?

smy20011 opened this issue · comments

It's better to show the time in local time zone instead of UTC time in the time tooltip.

Hey there! The underlying data received from the NYT source is in UTC. We don't really want to add more client-side formatting to wrangle our JSON blob into local times.

Displaying local timestamp tooltips does not require modifying the underlying data. PR #253 only modifies the displayed timestamps in the html.tmpl.