We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5984a7e commit fb99136Copy full SHA for fb99136
california-clock-change.html
@@ -245,7 +245,7 @@ <h1>California Clock Change</h1>
245
246
// Determine if it is currently daylight savings time or not
247
const currentDstDiv = document.getElementById('current-dst');
248
- const isDst = pastChange.isSpringForward && futureChange.isSpringForward;
+ const isDst = pastChange.isSpringForward && !futureChange.isSpringForward;
249
currentDstDiv.className = 'info-box';
250
currentDstDiv.innerHTML = `
251
<div>Current status:</div>
0 commit comments