Projet

Général

Profil

Bug #52989

sur l'affichage des "erreurs enregistrées", on affiche la date avec +2h

Ajouté par Thomas Noël il y a environ 3 ans. Mis à jour il y a environ 3 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
12 avril 2021
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Sur une erreur produite à 17h02 :

Première occurrence : 12/04/2021 19:02
Dernière occurrence : 12/04/2021 19:02
Nombre : 1

L'heure est sans doute enregistrée en heure locale, mais on affiche comme si elle était en TU.


Fichiers

Révisions associées

Révision dd0ce061 (diff)
Ajouté par Frédéric Péters il y a environ 3 ans

misc: use tz-aware datetimes in logged errors (#52989)

Historique

#1

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

Ce serait comme #51992, ce serait postgresql qui a timezone = 'Etc/UTC', je n'ai pas creusé l'historique de ce choix.

#2

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

Reproduit en local en modifiant ma configuration postgresql mais je ne propose pas de test pour émuler le comportement ici.

#3

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

  • Statut changé de Solution proposée à Solution validée

Bazar... c'était évident comme correction. Thanks.

#4

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

  • Statut changé de Solution validée à Résolu (à déployer)
commit dd0ce061233ff44b77ca5572ac325623992c8de8
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Tue Apr 13 18:18:39 2021 +0200

    misc: use tz-aware datetimes in logged errors (#52989)
#5

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

Formats disponibles : Atom PDF