From ed91745fec0592c671fd790024729654713edb97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Sun, 27 Sep 2015 13:59:38 +0200 Subject: [PATCH] Prettyprint du recuPaiement --- tresorerie/controle_rapide.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tresorerie/controle_rapide.py b/tresorerie/controle_rapide.py index fcabd5fc..5c60efba 100755 --- a/tresorerie/controle_rapide.py +++ b/tresorerie/controle_rapide.py @@ -41,6 +41,7 @@ import pythondialog import lc_ldap.shortcuts as shortcuts import lc_ldap.attributs as attributs +import lc_ldap.crans_utils as crans_utils import gestion.affichage as affichage TIMEOUT = 600 @@ -154,7 +155,7 @@ def format_facture(facture): dialog=True ), affichage.style( - facture['recuPaiement'][0], + crans_utils.datetime_from_generalized_time_format(unicode(facture['recuPaiement'][0])).strftime("%d/%m/%Y %H:%M:%S"), STYLES['recuPaiement'], dialog=True ),