Development #41836
afficher la date/heure de dernière récupération des données
0%
Description
Ça permettrait à la fois de voir un bug (données trop anciennes = problème de mise à jour) et de rappeler à l'agent que c'est normal que l'info sur une demande qui vient d'être transmise n'apparait pas.
Fichiers
Révisions associées
Historique
Mis à jour par Benjamin Dauvergne il y a environ 4 ans
- Fichier 0001-misc-use-mtime-of-schema-as-last-update-time-41836.patch 0001-misc-use-mtime-of-schema-as-last-update-time-41836.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Benjamin Dauvergne il y a environ 4 ans
- Fichier Firefox_Screenshot_2020-04-17T17-23-16.024Z.png Firefox_Screenshot_2020-04-17T17-23-16.024Z.png ajouté
- Fichier Firefox_Screenshot_2020-04-17T17-23-01.344Z.png Firefox_Screenshot_2020-04-17T17-23-01.344Z.png ajouté
- Fichier Firefox_Screenshot_2020-04-17T17-22-40.029Z.png Firefox_Screenshot_2020-04-17T17-22-40.029Z.png ajouté
Mis à jour par Valentin Deniaud il y a environ 4 ans
C'est cool, je pense qu'il faudrait ajouter un self.timestamp = None dans Warehouse.__init__ comme c'est fait pour path
, ça évitera de lever une exception si on utilise Warehouse.from_json dans un autre contexte.
Aussi,
+ {% trans "No visualizations to display yet." %})
à enlever.
Mis à jour par Benjamin Dauvergne il y a environ 4 ans
- Fichier 0001-misc-use-mtime-of-schema-as-last-update-time-41836.patch 0001-misc-use-mtime-of-schema-as-last-update-time-41836.patch ajouté
Yep.
Mis à jour par Valentin Deniaud il y a environ 4 ans
- Statut changé de Solution proposée à Solution validée
OK, dernier truc tu peux peut-être te dispenser de os.path.getmtime(path) et utiliser le mtime qui est passé en argument ?
Mis à jour par Benjamin Dauvergne il y a environ 4 ans
Valentin Deniaud a écrit :
OK, dernier truc tu peux peut-être te dispenser de os.path.getmtime(path) et utiliser le mtime qui est passé en argument ?
Yep, branche à jour, je pousserai vendredi.
Mis à jour par Benjamin Dauvergne il y a environ 4 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit d1cddf2117989c09305cd0efca4054dca7e7f41e Author: Benjamin Dauvergne <bdauvergne@entrouvert.com> Date: Fri Apr 17 19:21:58 2020 +0200 misc: use mtime of schema as last update time (#41836)
Mis à jour par Frédéric Péters il y a presque 4 ans
- Statut changé de Résolu (à déployer) à Solution déployée
misc: use mtime of schema as last update time (#41836)