[Corrigé 3.1.15] Pb affichage dans Calendrier - v 3.1.13
Posté : jeu. 5 janv. 2017 12:35
Bonjour
pour information nous avions un problème d'affichage des jours dans le calendrier (ok pour lundi à jeudi mais vendredi et samedi 7 jours de trop)
planning.php livré en 3.1.13
$monday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK MONDAY');
$tuesday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK TUESDAY');
$wednesday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK WEDNESDAY');
$thursday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK THURSDAY');
$friday=strtotime(''.$year.'-01-01 +'.$week.' WEEK FRIDAY');
$saturday=strtotime(''.$year.'-01-01 +'.$week.' WEEK SATURDAY');
$sunday=strtotime(''.$year.'-01-01 +'.$week.' WEEK SUNDAY');
au lieu de
$monday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK MONDAY');
$tuesday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK TUESDAY');
$wednesday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK WEDNESDAY');
$thursday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK THURSDAY');
$friday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK FRIDAY');
$saturday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK SATURDAY');
$sunday=strtotime(''.$year.'-01-01 +'.$week.' WEEK SUNDAY');
si cela peut aider
pour information nous avions un problème d'affichage des jours dans le calendrier (ok pour lundi à jeudi mais vendredi et samedi 7 jours de trop)
planning.php livré en 3.1.13
$monday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK MONDAY');
$tuesday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK TUESDAY');
$wednesday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK WEDNESDAY');
$thursday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK THURSDAY');
$friday=strtotime(''.$year.'-01-01 +'.$week.' WEEK FRIDAY');
$saturday=strtotime(''.$year.'-01-01 +'.$week.' WEEK SATURDAY');
$sunday=strtotime(''.$year.'-01-01 +'.$week.' WEEK SUNDAY');
au lieu de
$monday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK MONDAY');
$tuesday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK TUESDAY');
$wednesday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK WEDNESDAY');
$thursday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK THURSDAY');
$friday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK FRIDAY');
$saturday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK SATURDAY');
$sunday=strtotime(''.$year.'-01-01 +'.$week.' WEEK SUNDAY');
si cela peut aider