Correction mineure
This commit is contained in:
parent
8e5688bd13
commit
74bf802d8f
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user