Skip to content

Comments

Fix systematic off-by-one errors in 2026 February week-ahead calendar dates#189

Merged
pethers merged 5 commits intomainfrom
copilot/fix-dates-in-week-ahead-html
Feb 15, 2026
Merged

Fix systematic off-by-one errors in 2026 February week-ahead calendar dates#189
pethers merged 5 commits intomainfrom
copilot/fix-dates-in-week-ahead-html

Conversation

Copy link
Contributor

Copilot AI commented Feb 15, 2026

Weekend dates and Monday labels were consistently off by one day across multiple week-ahead articles, showing Feb 15-16 instead of 14-15 for Saturday-Sunday, and Feb 17 instead of 16 for Monday.

Changes

9 files corrected across 3 article sets:

  • feb-15-21 (5 languages: en, sv, da, no, fi)

    • Weekend: 15–1614–15
    • Monday: 1716
  • feb-14-20 (2 languages: en, sv)

    • Weekend: 14–1614–15
    • Monday: 1716
  • feb-10-17 (2 languages: en, sv)

    • English: 14-1714-16 (Sat-Mon)
    • Swedish: 15-1614-15 (Sat-Sun)

Example Fix

<!-- Before -->
<div class="calendar-day" aria-label="February 15-16 Weekend">
  <div class="day-header">Sat–Sun</div>
  <span class="day-date">15–16</span>
</div>

<!-- After -->
<div class="calendar-day" aria-label="February 14-15 Weekend">
  <div class="day-header">Sat–Sun</div>
  <span class="day-date">14–15</span>
</div>

Verification

Automated scan of all 81 2026-02-*.html files confirms no additional date/day-of-week mismatches.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@github-actions
Copy link
Contributor

🔍 Lighthouse Performance Audit

Category Score Status
Performance 85/100 🟡
Accessibility 95/100 🟢
Best Practices 90/100 🟢
SEO 95/100 🟢

📥 Download full Lighthouse report

Budget Compliance: Performance budgets enforced via budget.json

Copilot AI changed the title [WIP] Fix incorrect dates in week ahead HTML files Fix calendar dates in week-ahead articles (Feb 2026) Feb 15, 2026
Copilot AI requested a review from pethers February 15, 2026 11:48
Copilot AI changed the title Fix calendar dates in week-ahead articles (Feb 2026) Fix calendar dates in Feb 2026 week-ahead articles Feb 15, 2026
Copilot AI changed the title Fix calendar dates in Feb 2026 week-ahead articles Fix systematic off-by-one errors in 2026 February week-ahead calendar dates Feb 15, 2026
Copilot AI requested a review from pethers February 15, 2026 12:07
@pethers pethers marked this pull request as ready for review February 15, 2026 12:07
@pethers pethers merged commit 97407e2 into main Feb 15, 2026
1 check passed
@pethers pethers deleted the copilot/fix-dates-in-week-ahead-html branch February 15, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants