Nous sommes le Octidi 18 Germinal de l'an 233

OP
H4

Hubert42

il y a 20 jours

il est 5H82 https://image.noelshack.com/fichiers/2017/01/1483887106-risitas-revolution.png

OP
H4

Hubert42

il y a 20 jours

J'ai décidé de revenir au système métrique dans la mesure du temps c'est plus logique https://image.noelshack.com/fichiers/2017/01/1483887106-risitas-revolution.png

du coup je reprend le calendrier républicain https://image.noelshack.com/fichiers/2017/01/1483887106-risitas-revolution.png

OP
H4

Hubert42

il y a 20 jours

La journée décimale, on l'a :

1 jour = 10 heures

1 heure = 100 minutes

1 minute = 100 secondes

https://image.noelshack.com/fichiers/2017/01/1483887106-risitas-revolution.png

OP
H4

Hubert42

il y a 20 jours

120 seconde ça fait 1 minute 20 ça fait pas 2 minutes c'est moi qu'a raison https://image.noelshack.com/fichiers/2017/01/1483887106-risitas-revolution.png

OP
H4

Hubert42

il y a 20 jours

EM

edreMaLeuPcvJ-4

il y a 20 jours

Si t'es républicain va décapiter macron

OP
H4

Hubert42

il y a 20 jours


Si t'es républicain va décapiter macron

Ce qui m'interresse c'est juste la logique du système métrique je reprend juste le travail de nos ancêtres https://image.noelshack.com/fichiers/2017/01/1483887106-risitas-revolution.png

OP
H4

Hubert42

il y a 20 jours

il est 5H89 https://image.noelshack.com/fichiers/2017/01/1483887106-risitas-revolution.png

BR

broxo

il y a 20 jours

1 jour = 10 heures , c'est court

OP
H4

Hubert42

il y a 20 jours


1 jour = 10 heures , c'est court

1 journée = 10h --> chaque "heure" = 2h24 classiques

1h = 100 minutes --> chaque minute = 0.864 secondes "normales"

1 minute = 100 secondes --> chaque seconde = 0.864 sec actuelles

OP
H4

Hubert42

il y a 20 jours

si ça vous intéresse j'ai codé une horloge

SpoilAfficherMasquer

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Horloge décimale & Calendrier Révolutionnaire</title>
<style>
body {
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
background-color: #1e1e1e;
color: #f0f0f0;
}
h1 {
margin-bottom: 20px;
}
.clock {
font-size: 2em;
margin: 10px;
}
</style>
</head>
<body>
<h1>⏰ Horloge décimale</h1>
<div class="clock" id="decimalTime"></div>
<div class="clock" id="revDate"></div>

<script>
function updateClock() {
const now = new Date();

// Heure décimale
const secondsInDay = 86400;
const nowSeconds = now.getHours() * 3600 + now.getMinutes() * 60 + now.getSeconds() + now.getMilliseconds() / 1000;
const decimalFraction = nowSeconds / secondsInDay;

const decimalHours = decimalFraction * 10;
const h = Math.floor(decimalHours);
const m = Math.floor((decimalHours % 1) * 100);
const s = (((decimalHours % 1) * 100) % 1) * 100;

document.getElementById("decimalTime").textContent =
`Il est ${h}.${m.toString().padStart(2, '0')}.${s.toFixed(2).padStart(5, '0')}`;

// Date révolutionnaire avec gestion des années bissextiles (calendrier républicain)
const baseDate = new Date(Date.UTC(1792, 8, 22)); // 22 septembre 1792 en UTC
const currentDate = new Date();

function isLeapYearRepublican(year) {
return (year - 3) % 4 === 0;
}

const msPerDay = 86400000;
let daysSince = Math.floor((currentDate - baseDate) / msPerDay);

let revYear = 1;
let daysInYear;
let remainingDays = daysSince;

while (true) {
daysInYear = isLeapYearRepublican(revYear) ? 366 : 365;
if (remainingDays < daysInYear) break;
remainingDays -= daysInYear;
revYear++;
}

const months = [
"Vendémiaire", "Brumaire", "Frimaire",
"Nivôse", "Pluviôse", "Ventôse",
"Germinal", "Floréal", "Prairial",
"Messidor", "Thermidor", "Fructidor"
];

const decadeDays = [
"Primidi", "Duodi", "Tridi", "Quartidi", "Quintidi",
"Sextidi", "Septidi", "Octidi", "Nonidi", "Décadi"
];

const complementaryDays = [
"La Fête de la Vertu",
"La Fête du Génie",
"La Fête du Travail",
"La Fête de l'Opinion",
"La Fête des Récompenses",
"La Fête de la Révolution" // 6e jour en année bissextile
];

let revMonth, revDay, dayName;
if (remainingDays < 360) {
revMonth = months[Math.floor(remainingDays / 30)];
revDay = (remainingDays % 30) + 1;
dayName = decadeDays[(revDay - 1) % 10];
} else {
revMonth = "Jour complémentaire";
revDay = remainingDays - 359;
dayName = complementaryDays[revDay - 1] || "";
}

document.getElementById("revDate").textContent =
`Nous sommes le ${dayName} ${revDay} ${revMonth} de l'an ${revYear}`;
}

setInterval(updateClock, 100);
updateClock();
</script>
</body>
</html>

https://image.noelshack.com/fichiers/2017/01/1483887106-risitas-revolution.png

OP
H4

Hubert42

il y a 20 jours

C'est quand même nétement plus logique https://image.noelshack.com/fichiers/2017/01/1483887106-risitas-revolution.png

BR

broxo

il y a 20 jours

Complètement zinzin celui là

BA

Bananazer

il y a 20 jours


si ça vous intéresse j'ai codé une horloge

SpoilAfficherMasquer

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Horloge décimale & Calendrier Révolutionnaire</title>
<style>
body {
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
background-color: #1e1e1e;
color: #f0f0f0;
}
h1 {
margin-bottom: 20px;
}
.clock {
font-size: 2em;
margin: 10px;
}
</style>
</head>
<body>
<h1>⏰ Horloge décimale</h1>
<div class="clock" id="decimalTime"></div>
<div class="clock" id="revDate"></div>

<script>
function updateClock() {
const now = new Date();

// Heure décimale
const secondsInDay = 86400;
const nowSeconds = now.getHours() * 3600 + now.getMinutes() * 60 + now.getSeconds() + now.getMilliseconds() / 1000;
const decimalFraction = nowSeconds / secondsInDay;

const decimalHours = decimalFraction * 10;
const h = Math.floor(decimalHours);
const m = Math.floor((decimalHours % 1) * 100);
const s = (((decimalHours % 1) * 100) % 1) * 100;

document.getElementById("decimalTime").textContent =
`Il est ${h}.${m.toString().padStart(2, '0')}.${s.toFixed(2).padStart(5, '0')}`;

// Date révolutionnaire avec gestion des années bissextiles (calendrier républicain)
const baseDate = new Date(Date.UTC(1792, 8, 22)); // 22 septembre 1792 en UTC
const currentDate = new Date();

function isLeapYearRepublican(year) {
return (year - 3) % 4 === 0;
}

const msPerDay = 86400000;
let daysSince = Math.floor((currentDate - baseDate) / msPerDay);

let revYear = 1;
let daysInYear;
let remainingDays = daysSince;

while (true) {
daysInYear = isLeapYearRepublican(revYear) ? 366 : 365;
if (remainingDays < daysInYear) break;
remainingDays -= daysInYear;
revYear++;
}

const months = [
"Vendémiaire", "Brumaire", "Frimaire",
"Nivôse", "Pluviôse", "Ventôse",
"Germinal", "Floréal", "Prairial",
"Messidor", "Thermidor", "Fructidor"
];

const decadeDays = [
"Primidi", "Duodi", "Tridi", "Quartidi", "Quintidi",
"Sextidi", "Septidi", "Octidi", "Nonidi", "Décadi"
];

const complementaryDays = [
"La Fête de la Vertu",
"La Fête du Génie",
"La Fête du Travail",
"La Fête de l'Opinion",
"La Fête des Récompenses",
"La Fête de la Révolution" // 6e jour en année bissextile
];

let revMonth, revDay, dayName;
if (remainingDays < 360) {
revMonth = months[Math.floor(remainingDays / 30)];
revDay = (remainingDays % 30) + 1;
dayName = decadeDays[(revDay - 1) % 10];
} else {
revMonth = "Jour complémentaire";
revDay = remainingDays - 359;
dayName = complementaryDays[revDay - 1] || "";
}

document.getElementById("revDate").textContent =
`Nous sommes le ${dayName} ${revDay} ${revMonth} de l'an ${revYear}`;
}

setInterval(updateClock, 100);
updateClock();
</script>
</body>
</html>

https://image.noelshack.com/fichiers/2017/01/1483887106-risitas-revolution.png

et je compile dans ma tete c'estt ca https://image.noelshack.com/fichiers/2022/35/1/1661800576-ahiyao-bof.png

JF

JOB_Finances

il y a 20 jours


Complètement zinzin celui là

Première mention d'Israël dans :
Genèse 32:28
Il dit encore: ton nom ne sera plus Jacob, mais tu seras appelé Israël ;
car tu as lutté avec Dieu et avec des hommes, et tu as été vainqueur.

Genèse 32:28
Prenons le 32 et le 28, multiplions le 32 par 60 comme si le 32 était des heures,
puis ajoutons tout simplement les 28 minutes :
32 x 60 (minutes) = 1920
1920 + 28 = 1948

1948 : naissance de l'État d'Israël

https://www.jeuxvideo.com/forums/message/1271943764

OP
H4

Hubert42

il y a 20 jours

et je compile dans ma tete c'estt ca https://image.noelshack.com/fichiers/2022/35/1/1661800576-ahiyao-bof.png

t'a qu'a le foutre là dedans
https://onecompiler.com/html

flemme de faire une url https://image.noelshack.com/fichiers/2017/01/1483887106-risitas-revolution.png

OP
H4

Hubert42

il y a 20 jours

il est 6h https://image.noelshack.com/fichiers/2017/01/1483887106-risitas-revolution.png

OP
H4

Hubert42

il y a 20 jours

Si vous voulez vous pouvez également mettre ce code dans un fichier .ics et l'importer pour votre calendrier de l'année 233

SpoilAfficherMasquer
from datetime import datetime, timedelta # Fonction pour vérifier si une année républicaine est bissextile def is_republican_leap_year(year): return (year - 3) % 4 == 0 # Début de l'année 233 du calendrier révolutionnaire start_date = datetime(2024, 9, 22) days_in_year = 366 if is_republican_leap_year(233) else 365 # Noms des mois et jours du calendrier révolutionnaire months = [ "Vendémiaire", "Brumaire", "Frimaire", "Nivôse", "Pluviôse", "Ventôse", "Germinal", "Floréal", "Prairial", "Messidor", "Thermidor", "Fructidor" ] decade_days = [ "Primidi", "Duodi", "Tridi", "Quartidi", "Quintidi", "Sextidi", "Septidi", "Octidi", "Nonidi", "Décadi" ] complementary_days = [ "La Fête de la Vertu", "La Fête du Génie", "La Fête du Travail", "La Fête de l'Opinion", "La Fête des Récompenses", "La Fête de la Révolution" ] # Construction manuelle du fichier .ics ics_content = [ "BEGIN:VCALENDAR", "VERSION:2.0", "PRODID:-//République Française//Calendrier Révolutionnaire//FR" ] for i in range(days_in_year): current_date = start_date + timedelta(days=i) dt_str = current_date.strftime("%Y%m%d") if i < 360: month = months[i // 30] day_of_month = (i % 30) + 1 day_name = decade_days[(day_of_month - 1) % 10] summary = f"{day_name} {day_of_month} {month} (An 233)" else: day_of_month = i - 359 summary = f"{complementary_days[day_of_month - 1]} (Jour complémentaire - An 233)" ics_content += [ "BEGIN:VEVENT", f"UID:{dt_str}@revolutionnaire.fr", f"DTSTAMP:{dt_str}T000000Z", f"DTSTART;VALUE=DATE:{dt_str}", f"DTEND;VALUE=DATE:{(current_date + timedelta(days=1)).strftime('%Y%m%d')}", f"SUMMARY:{summary}", "END:VEVENT" ] ics_content.append("END:VCALENDAR") # Sauvegarder dans un fichier ics_path = "/mnt/data/calendrier_revolutionnaire_233.ics" with open(ics_path, "w", encoding="utf-8") as f: f.write("\n".join(ics_content)) ics_path

https://image.noelshack.com/fichiers/2017/01/1483887106-risitas-revolution.png

OP
H4

Hubert42

il y a 20 jours

Première mention d'Israël dans :
Genèse 32:28
Il dit encore: ton nom ne sera plus Jacob, mais tu seras appelé Israël ;
car tu as lutté avec Dieu et avec des hommes, et tu as été vainqueur.

Genèse 32:28
Prenons le 32 et le 28, multiplions le 32 par 60 comme si le 32 était des heures,
puis ajoutons tout simplement les 28 minutes :
32 x 60 (minutes) = 1920
1920 + 28 = 1948

1948 : naissance de l'État d'Israël

https://www.jeuxvideo.com/forums/message/1271943764
https://image.noelshack.com/fichiers/2019/19/4/1557419464-sticker-djokovic.png

le Tridi 23 Floréal de l'an 156 tu veut dire https://image.noelshack.com/fichiers/2017/01/1483887106-risitas-revolution.png

OP
H4

Hubert42

il y a 20 jours

j'ai rajouté un convertisseur du coup dans mon code

SpoilAfficherMasquer
<!DOCTYPE html> <html lang="fr"> <head> <meta charset="UTF-8"> <title>Horloge décimale & Calendrier Révolutionnaire</title> <style> body { font-family: Arial, sans-serif; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; background-color: #1e1e1e; color: #f0f0f0; } h1 { margin-bottom: 20px; } .clock { font-size: 1.5em; margin: 10px; } input[type="date"] { font-size: 1em; padding: 0.5em; margin-top: 10px; } </style> </head> <body> <h1>⏰ Horloge décimale & Calendrier Révolutionnaire</h1> <div class="clock" id="decimalTime"></div> <div class="clock" id="revDate"></div> <div class="clock"> <label for="dateInput">Convertir une date (grégorienne --> révolutionnaire) :</label><br> <input type="date" id="dateInput"> <div id="convertedDate"></div> </div> <script> const months = [ "Vendémiaire", "Brumaire", "Frimaire", "Nivôse", "Pluviôse", "Ventôse", "Germinal", "Floréal", "Prairial", "Messidor", "Thermidor", "Fructidor" ]; const decade_days = [ "Primidi", "Duodi", "Tridi", "Quartidi", "Quintidi", "Sextidi", "Septidi", "Octidi", "Nonidi", "Décadi" ]; const complementary_days = [ "La Fête de la Vertu", "La Fête du Génie", "La Fête du Travail", "La Fête de l'Opinion", "La Fête des Récompenses", "La Fête de la Révolution" ]; function isLeapYearRepublican(year) { return (year - 3) % 4 === 0; } function toRevolutionaryDate(date) { const baseDate = new Date(Date.UTC(1792, 8, 22)); const targetDate = new Date(date); const daysTotal = Math.floor((targetDate - baseDate) / (1000 * 60 * 60 * 24)); let revYear = 1; let remainingDays = daysTotal; while (true) { let yearLength = isLeapYearRepublican(revYear) ? 366 : 365; if (remainingDays < yearLength) break; remainingDays -= yearLength; revYear++; } if (remainingDays < 360) { let month = months[Math.floor(remainingDays / 30)]; let dayOfMonth = (remainingDays % 30) + 1; let dayName = decade_days[(dayOfMonth - 1) % 10]; return `${dayName} ${dayOfMonth} ${month} (An ${revYear})`; } else { let compDay = remainingDays - 359; return `${complementary_days[compDay - 1]} (Jour complémentaire - An ${revYear})`; } } function updateClock() { const now = new Date(); const secondsInDay = 86400; const nowSeconds = now.getHours() * 3600 + now.getMinutes() * 60 + now.getSeconds() + now.getMilliseconds() / 1000; const decimalFraction = nowSeconds / secondsInDay; const decimalHours = decimalFraction * 10; const h = Math.floor(decimalHours); const m = Math.floor((decimalHours % 1) * 100); const s = (((decimalHours % 1) * 100) % 1) * 100; document.getElementById("decimalTime").textContent = `Il est ${h}.${m.toString().padStart(2, '0')}.${s.toFixed(2).padStart(5, '0')}`; const baseDate = new Date(Date.UTC(1792, 8, 22)); let dateStr = now.toISOString().split("T")[0]; document.getElementById("revDate").textContent = `Aujourd'hui : ${toRevolutionaryDate(dateStr)}`; } document.getElementById("dateInput").addEventListener("change", function () { const dateStr = this.value; if (dateStr) { document.getElementById("convertedDate").textContent = toRevolutionaryDate(dateStr); } }); setInterval(updateClock, 100); updateClock(); </script> </body> </html>

https://image.noelshack.com/fichiers/2017/01/1483887106-risitas-revolution.png

OP
H4

Hubert42

il y a 20 jours

Il est 8h61 https://image.noelshack.com/fichiers/2017/01/1483887106-risitas-revolution.png