Couvercle pour poulie de renvoi adapté pour Solo 579 Tracteur de pelouse

Référence de l’article: 6681934

var holidays = new Set(); document.addEventListener("DOMContentLoaded", function() { var countdownContainer = document.getElementById("countdown-container"); fetchHolidays() .then(function() { countdownContainer.style.display = "flex"; updateCountdown(); setInterval(updateCountdown, 1000); }) .catch(function(error) { console.error("Fehler beim Laden der Feiertage:", error); }); }); function fetchHolidays() { var apiUrl = "https://feiertage-api.de/api/?jahr=" + new Date().getFullYear() + "&nur_land=NW"; return fetch(apiUrl) .then(function(response) { if (!response.ok) { throw new Error("Feiertage konnten nicht geladen werden"); } return response.json(); }) .then(function(data) { holidays.clear(); Object.values(data).forEach(function(h) { holidays.add(h.datum); }); console.log('feiertage', holidays); }); } function getNextBusinessDay(date) { do { date.setDate(date.getDate() + 1); } while (date.getDay() === 6 || date.getDay() === 0 || holidays.has(date.toISOString().split('T')[0])); return date; } function runTest() { const testDate = document.getElementById("test-date").value; if (!testDate) { alert("Bitte ein Testdatum auswählen!"); return; } updateCountdown(testDate); } function updateCountdown(customDate) { var countdownText = document.getElementById("countdown-text"); if (!countdownText) return; var now = customDate ? new Date(customDate) : new Date(); var bestellSchluss = new Date(now); bestellSchluss.setHours(15, 0, 0, 0); if (now.getDay() === 6 || now.getDay() === 0 || holidays.has(now.toISOString().split('T')[0])) { bestellSchluss = getNextBusinessDay(bestellSchluss); } else if (now >= bestellSchluss) { bestellSchluss = getNextBusinessDay(bestellSchluss); } var versandTag = new Date(bestellSchluss); if (now >= bestellSchluss) { versandTag = getNextBusinessDay(versandTag); } var diff = bestellSchluss - now; var hours = Math.floor(diff / (1000 * 60 * 60)); var minutes = Math.floor((diff / (1000 * 60)) % 60); var seconds = Math.floor((diff / 1000) % 60); document.getElementById("hours").textContent = hours.toString().padStart(2, '0'); document.getElementById("minutes").textContent = minutes.toString().padStart(2, '0'); document.getElementById("seconds").textContent = seconds.toString().padStart(2, '0'); var today = new Date().toDateString(); var bestellTagHeute = bestellSchluss.toDateString() === today; var versandTagHeute = versandTag.toDateString() === today; var bestellTagName = bestellTagHeute ? "heute" : bestellSchluss.toLocaleDateString("de-DE", { weekday: "long" }); var versandTagName = versandTagHeute ? "noch heute" : "am " + versandTag.toLocaleDateString("de-DE", { weekday: "long" }); var newText = "Bestellen Sie Ihre Auftrag bis " + bestellTagName + ",\n 15:00 Uhr " + "damit es " + versandTagName + " verschickt wird."; if (countdownText.innerText !== newText) { countdownText.innerText = newText; } }

14 jours pour changer d'avis

Couvercle pour poulie de renvoi compatible avec Solo 579 Tracteur de pelouse

Ce couvercle protège la poulie de l’eau.

Avec ces pièces de rechange de qualité supérieure, votre tracteur-tondeuse retrouvera la forme.

Nos pièces de rechange sont très précises.

Contenu de la livraison comme sur la photo.

Herstellerinformationen

MA-Versand GmbH

In der Laach- 1-3

53925 Kall

info@ma-versand.de