function affdate_heure($numdate) { return _T('date_fmt_jour_heure', array('jour' => affdate($numdate), 'heure' => heures_minutes($numdate))); }
function spiplistes_affdate ($date) { $result = ""; if($date) { $proch = round((strtotime($date) - time()) / _SPIPLISTES_TIME_1_DAY); $result = ( ($proch > 1) ? affdate_jourcourt($date) : "<strong>"._T($proch ? 'date_demain' : 'date_aujourdhui')."</strong>" ) . "<br />".heures_minutes($date) ; } return($result); }