From c0147090900f1417e538c4bdfbdefd20b1ca5eb2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 2 Apr 2012 10:50:20 +0200 Subject: [PATCH] Fix: Bad date format --- htdocs/adherents/fiche_subscription.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/htdocs/adherents/fiche_subscription.php b/htdocs/adherents/fiche_subscription.php index d7b86d7202d..cd179364519 100644 --- a/htdocs/adherents/fiche_subscription.php +++ b/htdocs/adherents/fiche_subscription.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2007-2012 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -150,12 +150,7 @@ llxHeader('',$langs->trans("SubscriptionCard"),'EN:Module_Foundations|FR:Module_ $form = new Form($db); - -if ($errmsg) -{ - print '
'.$errmsg.'
'; - print "\n"; -} +dol_htmloutput_errors($errmsg); if ($user->rights->adherent->cotisation->creer && $action == 'edit') @@ -316,9 +311,14 @@ if ($rowid && $action != 'edit') print ''.$langs->trans("Member").''.$adh->getNomUrl(1,0,'subscription').''; print ''; + // Date record + /*print ''; + print ''.$langs->trans("DateSubscription").''.dol_print_date($subscription->datec,'dayhour').''; + print '';*/ + // Date subscription print ''; - print ''.$langs->trans("DateSubscription").''.dol_print_date($subscription->dateh,'dayhour').''; + print ''.$langs->trans("DateSubscription").''.dol_print_date($subscription->dateh,'day').''; print ''; // Date end subscription