Skip to content

Fix localized dates and missing back-to-top script in 2026-02-27 evening analysis articles#647

Merged
pethers merged 2 commits intomain-36c61e465d6965f2from
copilot/sub-pr-642
Feb 28, 2026
Merged

Fix localized dates and missing back-to-top script in 2026-02-27 evening analysis articles#647
pethers merged 2 commits intomain-36c61e465d6965f2from
copilot/sub-pr-642

Conversation

Copy link
Contributor

Copilot AI commented Feb 28, 2026

Four localized article variants displayed the date in English ("27 February 2026") instead of the target language. All 14 evening-analysis files were also missing the back-to-top.ts module script present in every other news article.

Changes

  • Date localization (line 75 in each file):

    File Corrected date
    sv 27 februari 2026
    no 27. februar 2026
    da 27. februar 2026
    fi 27. helmikuuta 2026
  • Back-to-top script — added to all 14 2026-02-27-evening-analysis-*.html files before </body>:

    <script type="module" src="../scripts/back-to-top.ts"></script>

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

…lysis articles

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot AI changed the title [WIP] Add evening analysis of parliamentary activities in Sweden Fix localized dates and missing back-to-top script in 2026-02-27 evening analysis articles Feb 28, 2026
@pethers pethers marked this pull request as ready for review February 28, 2026 02:18
@pethers pethers merged commit f638ce2 into main-36c61e465d6965f2 Feb 28, 2026
@pethers pethers deleted the copilot/sub-pr-642 branch February 28, 2026 02:18
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