Projet

Général

Profil

Bug #22967

crash de l'affichage d'un planning avec une fin de journée passée 23h

Ajouté par Frédéric Péters il y a environ 6 ans. Mis à jour il y a plus de 5 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Catégorie:
-
Version cible:
-
Début:
03 avril 2018
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

Parce qu'on fait +1 pour contenir la dernière heure et que

  File "/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line 161, in render
    values = list(values)
  File "/usr/lib/python2.7/dist-packages/chrono/manager/views.py", line 222, in get_timetable_infos
    max_date = self.date.replace(hour=max_timeperiod.hour + 1, minute=0)
ValueError: hour must be in 0..23

Fichiers

Révisions associées

Révision 12a236d2 (diff)
Ajouté par Frédéric Péters il y a environ 6 ans

misc: allow meetings to end past 11pm (#22967)

Historique

#1

Mis à jour par Frédéric Péters il y a environ 6 ans

#2

Mis à jour par Thomas Noël il y a environ 6 ans

Ack

#3

Mis à jour par Frédéric Péters il y a environ 6 ans

  • Statut changé de En cours à Résolu (à déployer)
commit 12a236d20b5f2c453284cf5a7c485056d2fecda9
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Sat Apr 14 09:36:20 2018 +0200

    misc: allow meetings to end past 11pm (#22967)
#4

Mis à jour par Frédéric Péters il y a plus de 5 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF