{"id":130,"date":"2026-05-24T19:44:24","date_gmt":"2026-05-24T19:44:24","guid":{"rendered":"https:\/\/jardin-ruffi.fr\/?page_id=130"},"modified":"2026-06-21T08:07:21","modified_gmt":"2026-06-21T08:07:21","slug":"calendrier-du-jardin","status":"publish","type":"page","link":"https:\/\/jardin-ruffi.fr\/?page_id=130","title":{"rendered":"Calendrier du jardin"},"content":{"rendered":"\n<div id=\"dimanche-collectif\" style=\"\n    background:#fffaf1;\n    padding:30px;\n    margin-top:20px;\n    border-radius:15px;\n    border:2px solid #d9e5cf;\n\">\n\n    <div style=\"\n        display:flex;\n        flex-wrap:wrap;\n        gap:30px;\n        align-items:center;\n        justify-content:center;\n    \">\n\n        <!-- Colonne gauche -->\n\n        <div style=\"\n            flex:1;\n            min-width:280px;\n            text-align:center;\n        \">\n\n            <div style=\"font-size:2.5em;\">\n                &#x1f33b;\n            <\/div>\n\n            <h2 style=\"\n                color:#2d5a27;\n                margin:10px 0;\n            \">\n                Prochain dimanche collectif\n            <\/h2>\n\n            <div id=\"dateCollectif\"\n                 style=\"\n                    font-size:1.5em;\n                    font-weight:bold;\n                    color:#2d5a27;\n                    margin:15px 0;\n                 \">\n                Chargement&#8230;\n            <\/div>\n\n            <div style=\"\n                font-size:1.2em;\n                margin-bottom:15px;\n            \">\n                &#x1f559; 10h \u00e0 13h\n            <\/div>\n\n            <div id=\"compteRebours\"\n                 style=\"\n                    font-size:1.3em;\n                    font-weight:bold;\n                    color:#d97706;\n                 \">\n            <\/div>\n\n        <\/div>\n\n        <!-- S\u00e9parateur -->\n\n        <div style=\"\n            width:1px;\n            align-self:stretch;\n            background:#d9e5cf;\n        \"><\/div>\n\n        <!-- Colonne droite -->\n\n        <div style=\"\n            flex:1;\n            min-width:280px;\n            text-align:center;\n        \">\n\n            <div style=\"font-size:2.5em;\">\n                &#x1f4c5;\n            <\/div>\n\n            <h2 style=\"\n                color:#2d5a27;\n                margin:10px 0;\n            \">\n                Ne manquez aucun \u00e9v\u00e9nement\n            <\/h2>\n\n            <p style=\"\n                color:#666;\n                line-height:1.6;\n                max-width:400px;\n                margin:0 auto 20px auto;\n            \">\n                Retrouvez toutes les animations, ateliers et \u00e9v\u00e9nements des Jardins de Ruffi dans notre calendrier.\n            <\/p>\n\n            <p style=\"\n                color:#666;\n                line-height:1.6;\n                max-width:400px;\n                margin:0 auto 25px auto;\n            \">\n                Ajoutez-le \u00e0 votre t\u00e9l\u00e9phone ou \u00e0 votre agenda num\u00e9rique pour \u00eatre inform\u00e9 automatiquement des nouveaut\u00e9s.\n            <\/p>\n\n            <a href=\"https:\/\/calendar.google.com\/calendar\/ical\/jardinderuffi%40gmail.com\/public\/basic.ics\"\n               target=\"_blank\"\n               style=\"\n                    display:inline-block;\n                    background:#2d5a27;\n                    color:white;\n                    text-decoration:none;\n                    padding:12px 20px;\n                    border-radius:8px;\n                    font-weight:bold;\n               \">\n                &#x2795; Ajouter le calendrier\n            <\/a>\n\n        <\/div>\n\n    <\/div>\n\n<\/div>\n\n<script>\n(function() {\n\n    function getSecondSunday(year, month) {\n        const firstDay = new Date(year, month, 1);\n        const firstSundayOffset = (7 - firstDay.getDay()) % 7;\n        return new Date(year, month, 1 + firstSundayOffset + 7);\n    }\n\n    const today = new Date();\n    today.setHours(0,0,0,0);\n\n    let collectiveDate = getSecondSunday(\n        today.getFullYear(),\n        today.getMonth()\n    );\n\n    if (today > collectiveDate) {\n        collectiveDate = getSecondSunday(\n            today.getFullYear(),\n            today.getMonth() + 1\n        );\n    }\n\n    document.getElementById('dateCollectif').innerHTML =\n        collectiveDate.toLocaleDateString('fr-FR', {\n            weekday:'long',\n            day:'numeric',\n            month:'long',\n            year:'numeric'\n        });\n\n    const diffDays = Math.ceil(\n        (collectiveDate - today) \/ (1000*60*60*24)\n    );\n\n    document.getElementById('compteRebours').innerHTML =\n        diffDays === 0\n            ? \"&#x1f389; C'est aujourd'hui !\"\n            : \"&#x23f3; Dans \" + diffDays + \" jours\";\n\n})();\n<\/script>\n\n\n\n<iframe \n    \n    style=\"border: 0\"\n    width=\"100%\"\n    height=\"600\"\n    frameborder=\"0\"\n    scrolling=\"no\" class=\"lws-optimize-lazyload\" data-src=\"https:\/\/calendar.google.com\/calendar\/embed?src=jardinderuffi%40gmail.com&#038;ctz=Europe%2FParis\">\n<\/iframe>\n","protected":false},"excerpt":{"rendered":"<p>&#x1f33b; Prochain dimanche collectif Chargement&#8230; &#x1f559; 10h \u00e0 13h &#x1f4c5; Ne manquez aucun \u00e9v\u00e9nement Retrouvez toutes les animations, ateliers et \u00e9v\u00e9nements des Jardins de Ruffi dans notre calendrier. Ajoutez-le \u00e0 votre t\u00e9l\u00e9phone ou \u00e0 votre agenda num\u00e9rique pour \u00eatre inform\u00e9 automatiquement des nouveaut\u00e9s. &#x2795; Ajouter le calendrier<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"wf_page_folders":[],"class_list":["post-130","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/jardin-ruffi.fr\/index.php?rest_route=\/wp\/v2\/pages\/130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jardin-ruffi.fr\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/jardin-ruffi.fr\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/jardin-ruffi.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jardin-ruffi.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=130"}],"version-history":[{"count":7,"href":"https:\/\/jardin-ruffi.fr\/index.php?rest_route=\/wp\/v2\/pages\/130\/revisions"}],"predecessor-version":[{"id":209,"href":"https:\/\/jardin-ruffi.fr\/index.php?rest_route=\/wp\/v2\/pages\/130\/revisions\/209"}],"wp:attachment":[{"href":"https:\/\/jardin-ruffi.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=130"}],"wp:term":[{"taxonomy":"wf_page_folders","embeddable":true,"href":"https:\/\/jardin-ruffi.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fwf_page_folders&post=130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}