[Corrigé 3.0.7]Erreur Planning

Vous avez trouvé un bug dans l'application (dernière version stable ou bêta): Décrivez le ici afin que la correction soit intégrée a la prochaine version.
Répondre
Avatar du membre
johndoe73
Gsup LEVEL 1
Messages : 17
Enregistré le : mer. 5 mars 2014 22:29

Bonjour, j'utilise GestSup 3.0.6
Il y a un bug d’affichage dans le planning.
Lundi 03 Mardi 11 Mercredi 05... pareil pour semaine qui suit (toujours le mardi).
Voir PJ.

Cordialement.
Fichiers joints
Planning
Planning
Planning.JPG (66.93 Kio) Vu 3283 fois
Gestsup 3.0.8

     Linux ubuntu 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64
     Apache 2.4.6
     Mysql 5.5.35-0ubuntu0.13.10.2
     PHP 5.5.3-1ubuntu2.2

LDAP sur Serveur 2008 R2 Std + serveur Exchange 2013 cu3
fabrice
Gsup LEVEL 7
Messages : 327
Enregistré le : mar. 11 mars 2014 12:01

bonjour,
modifiez le fichier planning.php pour avoir ceci :

$monday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK MONDAY');
$tuesday=strtotime(''.$year.'-01-01 +'.($week-1).' WEEK TUESDAY');
$wednesday=strtotime(''.$year.'-01-01 +'.$week.' WEEK WEDNESDAY');
$thursday=strtotime(''.$year.'-01-01 +'.$week.' 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');

cordialement
OS : Linux gestsup 4.15.0-158-generic #166-Ubuntu SMP Fri Sep 17 19:37:52 UTC 2021 x86_64
MariaDB : 10.4.21-MariaDB-1:10.4.21+maria~bionic (base : bsup 183.8MB)
PHP : 7.3.30-1+ubuntu18.04.1+deb.sury.org+1
GestSup : 3.2.15 (8871 Tickets)
Avatar du membre
johndoe73
Gsup LEVEL 1
Messages : 17
Enregistré le : mer. 5 mars 2014 22:29

Merci beaucoup.
Gestsup 3.0.8

     Linux ubuntu 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64
     Apache 2.4.6
     Mysql 5.5.35-0ubuntu0.13.10.2
     PHP 5.5.3-1ubuntu2.2

LDAP sur Serveur 2008 R2 Std + serveur Exchange 2013 cu3
Répondre