{"id":3796,"date":"2026-11-12T22:48:48","date_gmt":"2026-11-12T21:48:48","guid":{"rendered":"https:\/\/www.pclycee.com\/?p=3796"},"modified":"2026-11-12T23:12:50","modified_gmt":"2026-11-12T22:12:50","slug":"distribution-annuelle-2026-2027","status":"publish","type":"post","link":"https:\/\/www.pclycee.com\/vb\/distribution-annuelle-2026-2027\/","title":{"rendered":"Distribution annuelle 2026\/2027"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.pclycee.com\/distribution-annuelle-2026-2027\/\" data-type=\"post\" data-id=\"3796\">vers haut<\/a><\/p>\n\n\n\n<!DOCTYPE html>\n<html lang=\"fr\">\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<title>Dates pass\u00e9es &#8211; Distribution annuelle<\/title>\n<style>\nbody {\n    font-family: Arial, sans-serif;\n    background: #f4f6f9;\n    margin: 0;\n    padding: 20px;\n    color: #333;\n}\n.event h3 a {\n    color: #263b59;\n    text-decoration: none;\n}\n\n.event h3 a:hover {\n    color: #007bff;\n    text-decoration: underline;\n}\n.container {\n    max-width: 900px;\n    margin: auto;\n}\nh2 {\n    color: #263b59;\n    text-align: center;\n}\n.event {\n    background: white;\n    padding: 15px;\n    margin: 12px 0;\n    border-radius: 8px;\n    border-left: 5px solid #8795a8;\n    box-shadow: 0 2px 5px rgba(0,0,0,.06);\n}\n.date {\n    color: #68778a;\n    font-size: 13px;\n    margin-bottom: 8px;\n}\n.event h3 {\n    font-size: 16px;\n    margin: 0;\n}\n.category {\n    color: #64748b;\n    font-size: 12px;\n    margin-top: 8px;\n}\n<\/style>\n<\/head>\n<body>\n\n<div class=\"container\">\n<h2>Historique des cours<\/h2>\n<div id=\"events\"><\/div>\n<\/div>\n\n<script>\nconst today = new Date();\ntoday.setHours(0,0,0,0);\n\nconst data = [\n[\"2026-09-02\",\"2026-09-06\",\"Rentr\u00e9e \u2014 Signature du PV, r\u00e9ception des \u00e9l\u00e8ves, contrat didactique, pr\u00e9sentation du programme\",\"Administratif\"],\n[\"2026-09-07\",\"2026-09-13\",\"Diagnostic des acquisitions + soutien p\u00e9dagogique et rem\u00e9diation\",\"Administratif\"],\n[\"2026-09-14\",\"2026-09-20\",\"Chap. 1 \u2014 Les ondes m\u00e9caniques progressives\",\"Physique\"],\n[\"2026-09-21\",\"2026-09-27\",\"Chap. 2 \u2014 Les ondes m\u00e9caniques progressives p\u00e9riodiques\",\"Physique\"],\n[\"2026-09-28\",\"2026-10-04\",\"Chap. 3 \u2014 Propagation d'une onde lumineuse\",\"Physique\"],\n[\"2026-10-05\",\"2026-10-11\",\"Chimie \u2014 Chap. 1 \u2014 Transformations chimiques lentes et rapides\",\"Chimie\"],\n[\"2026-10-12\",\"2026-10-18\",\"Chimie \u2014 Chap. 2 \u2014 Suivi temporel d'une transformation chimique : vitesse de r\u00e9action\",\"Chimie\"],\n[\"2026-10-18\",\"2026-10-26\",\"Premi\u00e8res vacances interm\u00e9diaires\",\"Vacances\"],\n[\"2026-10-26\",\"2026-11-01\",\"Soutien + Contr\u00f4le surveill\u00e9 N\u00b01\",\"Soutien \/ Contr\u00f4le\"],\n[\"2026-11-02\",\"2026-11-08\",\"Chap. 4 \u2014 La d\u00e9croissance radioactive\",\"Physique\"]\n];\n\nconst formatDate = date => new Date(date+\"T12:00:00\")\n    .toLocaleDateString(\"fr-FR\", {\n        day:\"2-digit\",\n        month:\"long\",\n        year:\"numeric\"\n    });\n\nconst container = document.getElementById(\"events\");\n\/*\ndata.forEach(event => {\n    const start = new Date(event[0]+\"T00:00:00\");\n    const end = new Date(event[1]+\"T00:00:00\");\n\n    \/\/ DTEND est une date exclusive dans le calendrier ICS\n    if (end <= today) {\n*\/\ndata.reverse().forEach(event => {\n\n    const end = new Date(event[1] + \"T00:00:00\");\n\n    if (end <= today) {\n\n        const lastDay = new Date(end);\n        lastDay.setDate(lastDay.getDate() - 1);\n\/*\n        const page = slugify(event[2]) + \".html\";\n*\/\n const page = slugify(event[2]) + \"\/\";\n        container.innerHTML += `\n            <div class=\"event\">\n\n                <div class=\"date\">\n                    ${formatDate(event[0])}\n                    \u2014 ${formatDate(lastDay.toISOString().slice(0,10))}\n                <\/div>\n\n                <h3>\n                    <a href=\"${page}\">\n                        ${event[2]}\n                    <\/a>\n                <\/h3>\n\n                <div class=\"category\">\n                    ${event[3]}\n                <\/div>\n\n            <\/div>\n        `;\n    }\n});\n\nfunction slugify(text) {\n    return text\n        .normalize(\"NFD\")\n        .replace(\/[\\u0300-\\u036f]\/g, \"\")\n        .toLowerCase()\n        .replace(\/[^a-z0-9]+\/g, \"-\")\n        .replace(\/^-|-$\/g, \"\");\n}\n<\/script>\n\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>vers haut Dates pass\u00e9es &#8211; Distribution annuelle Historique des cours<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-3796","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.pclycee.com\/vb\/wp-json\/wp\/v2\/posts\/3796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pclycee.com\/vb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pclycee.com\/vb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pclycee.com\/vb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pclycee.com\/vb\/wp-json\/wp\/v2\/comments?post=3796"}],"version-history":[{"count":8,"href":"https:\/\/www.pclycee.com\/vb\/wp-json\/wp\/v2\/posts\/3796\/revisions"}],"predecessor-version":[{"id":3814,"href":"https:\/\/www.pclycee.com\/vb\/wp-json\/wp\/v2\/posts\/3796\/revisions\/3814"}],"wp:attachment":[{"href":"https:\/\/www.pclycee.com\/vb\/wp-json\/wp\/v2\/media?parent=3796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pclycee.com\/vb\/wp-json\/wp\/v2\/categories?post=3796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pclycee.com\/vb\/wp-json\/wp\/v2\/tags?post=3796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}