Révision ed51e0a4
b/index.php | ||
---|---|---|
1 | 1 |
<?php |
2 |
setlocale(LC_ALL, 'fr_FR'); |
|
2 |
setlocale(LC_TIME, "fr_FR"); |
|
3 | 3 |
$lstJours = array("dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"); |
4 |
$lstMois = array(1 => "janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"); |
|
4 |
$lstMois = array("janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"); |
|
5 | 5 |
$lstFeries = array( |
6 | 6 |
"jourDeLAn" => array(1, 1, "jour de l'an"), |
7 | 7 |
"rameaux" => array(0, 0, "les Rameaux"), |
... | ... | |
86 | 86 |
} |
87 | 87 |
for ($m = 6*$s-5; $m <= 6*$s; $m++) { |
88 | 88 |
if ($j == 0) { |
89 |
echo "\t\t\t\t<th id=\"mois$m\">".$lstMois[$m]."</th>\n"; |
|
89 |
echo "\t\t\t\t<th id=\"mois$m\">".$lstMois[$m-1]."</th>\n"; |
|
90 | 90 |
$lastDay = 29; |
91 | 91 |
while (checkdate($m, $lastDay, $year)) $lastDay++; |
92 | 92 |
$last[$m] = $lastDay-1; |
Formats disponibles : Unified diff