Correction mineure

This commit is contained in:
Alexandre MOTTIER 2025-02-05 22:52:22 +01:00
parent 8e5688bd13
commit 74bf802d8f

View File

@ -101,7 +101,7 @@ $datecouple = "2022-08-28";
if ($diff->format('%d') == 0) { if ($diff->format('%d') == 0) {
echo '<h2>Notre premier baiser 💋 était il y a '.$diff->format('%y').' an(s) et '.$diff->format('%m').' mois !<br>'; echo '<h2>Notre premier baiser 💋 était il y a '.$diff->format('%y').' an(s) et '.$diff->format('%m').' mois !<br>';
}else{ }else{
echo '<h2>Notre premier baiser 💋 était il y a '.$diff->format('%y').' an(s), '.$diff->format('%m').'mois et '.$diff->format('%d').' jour(s).<br>'; echo '<h2>Notre premier baiser 💋 était il y a '.$diff->format('%y').' an(s), '.$diff->format('%m').' mois et '.$diff->format('%d').' jour(s).<br>';
} }
} }
@ -138,4 +138,3 @@ echo "Cela fait " . $diff_jours . " jours.</h2>";
</div> </div>
</body> </body>
</html> </html>