Remove the use of WDate

This commit is contained in:
Michael RICOIS 2013-10-28 13:40:04 +00:00
parent 8142efb39d
commit 958e8d43fa
2 changed files with 6 additions and 3 deletions

View File

@ -51,11 +51,13 @@ if (count($this->evens)>0) {
?>
<tr>
<td class="StyleInfoLib" width="80" valign="top">
<?=WDate::dateT('Ymd','d/m/Y',$even->DateInfo)?>
<?php $date = new Zend_Date($even->DateInfo, 'yyyyMMdd')?>
<?=$date->toString('dd/MM/yyyy')?>
</td>
<td class="StyleInfoData" width="580">
<?php $date = new Zend_Date($even->EvenDate, 'yyyyMMdd')?>
<b><?=$even->EvenLib?></b>&nbsp;<i> - NIC <?=$lien.$even->Nic.'</a>'?>
le <?=WDate::dateT('Ymd','d/m/Y',$even->EvenDate)?></i>
le <?=$date->toString('dd/MM/yyyy')?></i>
<?php
if (trim($even->EvenLibDet)<>'')
echo '<br/>'.str_replace(', ','<br/>', $even->EvenLibDet);

View File

@ -65,7 +65,8 @@
<?php foreach ($this->marques as $marque) { ?>
<tr>
<td width="200" class="StyleInfoData">
D&eacute;p&ocirc;t n&deg;<?=$marque->Depot?> du <?=WDate::dateT('Y-m-d', 'd/m/Y', $marque->Date);?>
<?php $date = new Zend_Date($marque->Date, 'yyyy-MM-dd'); ?>
D&eacute;p&ocirc;t n&deg;<?=$marque->Depot?> du <?=$date->toString('dd/MM/yyyy')?>
</td>
<td width="50">
<a id="<?=$marque->Depot?>" class="getmarque" href="<?=$this->url(array(