diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php index d63086053f3..05e86c5c2f8 100644 --- a/htdocs/comm/action/index.php +++ b/htdocs/comm/action/index.php @@ -142,37 +142,9 @@ if ($resql) print ""; - if ($oldyear == strftime("%Y",$obj->dp) ) - { - print '|'; - } - else - { - print ''.strftime("%Y",$obj->dp).''; - $oldyear = strftime("%Y",$obj->dp); - } - - if ($oldmonth == strftime("%Y%m",$obj->dp) ) - { - print '|'; - } - else - { - print ''.strftime("%b",$obj->dp).''; - $oldmonth = strftime("%Y%m",$obj->dp); - } - - if ($oldday == strftime("%Y%m%d",$obj->dp) ) - { - print '|'; - } - else - { - print ''.strftime("%d",$obj->dp).' '; - $oldday = strftime("%Y%m%d",$obj->dp); - } - - print ''.strftime("%H:%M",$obj->dp).''; + print ''; + print dolibarr_print_date($obj->dp,"dayhour"); + print ''; // Action (type) print '';