Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,15 @@ package-lock.json

# Local Netlify folder
.netlify

# AI development tools (local only)
.ai/
.claude/

# Deno lockfile — edge functions are currently disabled
deno.lock

# OurAirports source data — not committed (123 KB precomputed map is in netlify/airport-map-data.json)
# To regenerate: download from https://davidmegginson.github.io/ourairports-data/airports.csv
# then run: npm run build:airports
airports.csv
4 changes: 2 additions & 2 deletions static/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ body {
flex-direction: column;
justify-content: center;
align-items: center;
height:100%;
min-height:100vh;
margin:0;
}

Expand All @@ -180,7 +180,7 @@ padding:0, 1em;
display: none;
}
.content {
margin-top:10vh;
margin-top:0;
width: 500px;
max-width:100%;
line-height:150%;
Expand Down
11 changes: 5 additions & 6 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,16 @@
<div class="content">
<div class="clock"></div>
<h1>timezone.fyi</h1>
This site lets you quickly share a time across multiple time zones.
Quickly share a time across multiple time zones.
<p>Simply type a url with the following structure:
<br><b><a href="/10:30am,pst,est">https://timezone.fyi/10:30am,pst,est</a></b>
<p>The first listed time zone will be treated as the primary. Zones can be expressed as:
<ul>
<li><b><a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones">Timezone abbreviation</a></b> — e.g. <a href="/10:30am,GMT,PST">GMT</a>, <a href="/10:30am,EST,PST">EST</a>, <a href="/10:30am,JST,PST">JST</a></li>
<li><b><a href="https://en.wikipedia.org/wiki/IATA_airport_code">Airport code</a></b> — e.g. <a href="/10:30am,SFO,JFK,LHR">SFO</a>, <a href="/10:30am,SFO,JFK,LHR">JFK</a>, <a href="/10:30am,SFO,JFK,LHR">LHR</a></li>
<li><b><a href="https://en.wikipedia.org/wiki/List_of_airports_by_IATA_metropolitan_area_code">Metro area code</a></b> — e.g. <a href="/10:30am,NYC,LON,TYO">NYC</a>, <a href="/10:30am,NYC,LON,TYO">LON</a>, <a href="/10:30am,NYC,LON,TYO">TYO</a></li>
<li><b><a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones">Standard timezones</a></b> — e.g. <a href="/10:30am,GMT,PST">GMT</a>, <a href="/10:30am,EST,PST">EST</a>, <a href="/10:30am,JST,PST">JST</a></li>
<li><b><a href="https://en.wikipedia.org/wiki/List_of_international_airports_by_country">Airport codes</a></b> — e.g. <a href="/10:30am,SFO,LHR,SIN">SFO</a>, <a href="/10:30am,SFO,LHR,SIN">LHR</a>, <a href="/10:30am,SFO,LHR,SIN">SIN</a></li>
<li><b><a href="https://en.wikipedia.org/wiki/IATA_airport_code#Cities_with_multiple_commercial_airports">Metro area codes</a></b> — e.g. <a href="/10:30am,NYC,LON,PAR">NYC</a>, <a href="/10:30am,NYC,LON,PAR">LON</a>, <a href="/10:30am,NYC,LON,PAR">PAR</a></li>
</ul>
<p>When you send these via Slack, SMS, and other modern chat clients,
<br>they'll expand to show times in every listed zone.
<p>Links expand in Slack, SMS, and other modern chat clients to show times in every listed zone.
</div>
</body>

Expand Down
Loading