From ab577a1596392fe2dca1e056c41b6606cd304cdc Mon Sep 17 00:00:00 2001 From: opensides Date: Tue, 7 Sep 2004 10:14:12 +0000 Subject: [PATCH] coorection porbleme de date --- htdocs/comm/prospect/fiche.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/htdocs/comm/prospect/fiche.php b/htdocs/comm/prospect/fiche.php index 991861cd9dc..a113f84881c 100644 --- a/htdocs/comm/prospect/fiche.php +++ b/htdocs/comm/prospect/fiche.php @@ -307,11 +307,13 @@ if ($socid > 0) $var = !$var; $obj = $db->fetch_object( $i); + print ""; if ($oldyear == strftime("%Y",$obj->da) ) { - print '|'; + //print '|'; + print '' .strftime("%Y",$obj->da)."\n"; } else { @@ -319,9 +321,13 @@ if ($socid > 0) $oldyear = strftime("%Y",$obj->da); } - if ($oldmonth == strftime("%Y%b",$obj->da) ) { - print '|'; - } else { + if ($oldmonth == strftime("%Y%b",$obj->da) ) + { + // print '|'; + print "" .strftime("%b",$obj->da)."\n"; + } + else + { print "" .strftime("%b",$obj->da)."\n"; $oldmonth = strftime("%Y%b",$obj->da); }