Bug #52172
ValueError: day is out of range for month
Début:
18 mars 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/39711/
ValueError: day is out of range for month (5 additional frame(s) were not displayed) ... File "rest_framework/views.py", line 495, in dispatch response = self.handle_exception(exc) File "rest_framework/views.py", line 455, in handle_exception self.raise_uncaught_exception(exc) File "rest_framework/views.py", line 492, in dispatch response = handler(request, *args, **kwargs) File "chrono/api/views.py", line 601, in get date_end = make_aware(datetime.datetime.combine(parse_date(date_end), datetime.time(0, 0))) File "django/utils/dateparse.py", line 64, in parse_date return datetime.date(**kw)
Fichiers
Révisions associées
Historique
Mis à jour par Lauréline Guérin il y a environ 3 ans
- Fichier 0001-api-fix-date-parsing-52172.patch 0001-api-fix-date-parsing-52172.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Valentin Deniaud il y a environ 3 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Valentin Deniaud il y a environ 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit bbd93a1bec15c466949f5aa6ecbcd1cb4c6ad68d Author: Lauréline Guérin <zebuline@entrouvert.com> Date: Thu Mar 18 15:30:51 2021 +0100 api: fix date parsing (#52172)
Mis à jour par Frédéric Péters il y a environ 3 ans
- Statut changé de Résolu (à déployer) à Solution déployée
api: fix date parsing (#52172)