Skip to content

Commit 6c9c854

Browse files
author
Copilot
committed
Time-zone widget: reverse to east-to-west order (Hyderabad to U.S. Pacific); replace heavy yellow row fill with subtle left-edge accent + small Event pill badge for the event time zone; remove caption
1 parent 6b6a457 commit 6c9c854

4 files changed

Lines changed: 32 additions & 12 deletions

File tree

‎events/builder-days-2026.json‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@
5050
}
5151
],
5252
"timeZones": [
53-
{ "label": "U.S. Pacific", "iana": "America/Los_Angeles" },
54-
{ "label": "U.S. Mountain", "iana": "America/Denver" },
55-
{ "label": "U.S. Central", "iana": "America/Chicago" },
56-
{ "label": "U.S. Eastern", "iana": "America/New_York" },
57-
{ "label": "London, UK (event)", "iana": "Europe/London" },
58-
{ "label": "Brussels / Paris", "iana": "Europe/Paris" },
59-
{ "label": "Berlin", "iana": "Europe/Berlin" },
53+
{ "label": "Hyderabad, India", "iana": "Asia/Kolkata" },
6054
{ "label": "Helsinki", "iana": "Europe/Helsinki" },
61-
{ "label": "Hyderabad, India", "iana": "Asia/Kolkata" }
55+
{ "label": "Berlin", "iana": "Europe/Berlin" },
56+
{ "label": "Brussels / Paris", "iana": "Europe/Paris" },
57+
{ "label": "London, UK", "iana": "Europe/London" },
58+
{ "label": "U.S. Eastern", "iana": "America/New_York" },
59+
{ "label": "U.S. Central", "iana": "America/Chicago" },
60+
{ "label": "U.S. Mountain", "iana": "America/Denver" },
61+
{ "label": "U.S. Pacific", "iana": "America/Los_Angeles" }
6262
],
6363
"csapiDay": {
6464
"date": "2026-05-13",

‎src/js/scripts.js‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,11 @@
121121
var hh = offset / 60;
122122
offsetText = (hh > 0 ? '+' : '') + hh + ' h';
123123
}
124+
var labelCell = isEvent
125+
? '<td><span class="tz-event-badge">Event</span>' + z.label + '</td>'
126+
: '<td>' + z.label + '</td>';
124127
tr.innerHTML =
125-
'<td>' + z.label + '</td>' +
128+
labelCell +
126129
'<td class="local-time" data-tz="' + z.iana + '">' + formatLocalTime(now, z.iana) + '</td>' +
127130
'<td class="' + offsetClass + '">' + offsetText + '</td>';
128131
tbody.appendChild(tr);

‎src/pug/includes/dashboard.pug‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,5 @@ mixin sprintDashboard(event)
3333
th.text-end Local
3434
th.text-end vs. London
3535
tbody
36-
p.dashboard-note.mb-0.text-center.mt-2
37-
| Listed west→east. The highlighted row is the event time.
3836
script.
3937
window.SPRINT_EVENT = !{JSON.stringify(event)};

‎src/scss/sections/_sprint-hero.scss‎

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,28 @@
153153
}
154154

155155
tbody tr.tz-event-row td {
156-
background-color: rgba($primary, 0.18);
156+
background-color: transparent;
157157
font-weight: 600;
158158
color: $gray-900;
159+
position: relative;
160+
}
161+
162+
tbody tr.tz-event-row td:first-child {
163+
box-shadow: inset 3px 0 0 0 $primary;
164+
}
165+
166+
.tz-event-badge {
167+
display: inline-block;
168+
margin-right: 0.45rem;
169+
padding: 0.05rem 0.4rem;
170+
font-size: 0.6rem;
171+
font-weight: 700;
172+
letter-spacing: 0.06em;
173+
text-transform: uppercase;
174+
color: $gray-900;
175+
background-color: $primary;
176+
border-radius: 2px;
177+
vertical-align: 1px;
159178
}
160179
}
161180

0 commit comments

Comments
 (0)