summaryrefslogtreecommitdiff
path: root/gestion_donnees.py
diff options
context:
space:
mode:
Diffstat (limited to 'gestion_donnees.py')
-rw-r--r--gestion_donnees.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gestion_donnees.py b/gestion_donnees.py
index 2177fc8..653bf9b 100644
--- a/gestion_donnees.py
+++ b/gestion_donnees.py
@@ -53,7 +53,7 @@ def convertit_age_vers_texte(nombre):
53 annees = int(nombre / jours_dans_annee) 53 annees = int(nombre / jours_dans_annee)
54 restant = nombre - round(annees*jours_dans_annee) 54 restant = nombre - round(annees*jours_dans_annee)
55 mois = int(restant/jours_dans_mois) 55 mois = int(restant/jours_dans_mois)
56 jours= restant - round(mois*jours_dans_mois) 56 jours= nombre - round(mois*jours_dans_mois + annees*jours_dans_annee)
57 57
58 chaine = "" 58 chaine = ""
59 if annees >0: 59 if annees >0: