Datum Format in CV #114

This commit is contained in:
Geno 2015-01-05 19:06:05 +01:00
parent 3a9a5099be
commit 6b04d223a4
2 changed files with 12 additions and 12 deletions

View File

@ -58,17 +58,17 @@ if($edit){
<?php
if($cvc['DreamjobListCvCategory']['startdate'] and $cvc['DreamjobListCvCategory']['enddate'] and $cvc['DreamjobListCvCategory']['place']){
?>
<td><?=$cvc['DreamjobCvEntry']['startdate'];?> - <?=$cvc['DreamjobCvEntry']['enddate'];?></td>
<td><?=$this->Time->format('d.m.Y',$cvc['DreamjobCvEntry']['startdate']);?> - <?=$this->Time->format('d.m.Y',$cvc['DreamjobCvEntry']['enddate']);?></td>
<td><?=$cvc['DreamjobCvEntry']['title'];?><br/><span><?=$cvc['DreamjobCvEntry']['place'];?></span></td>
<?php
}else if($cvc['DreamjobListCvCategory']['place']){
if($cvc['DreamjobListCvCategory']['startdate']){
?>
<td><?=$cvc['DreamjobCvEntry']['startdate'];?></td>
<td><?=$this->Time->format('d.m.Y',$cvc['DreamjobCvEntry']['startdate']);?></td>
<?php
}else if($cvc['DreamjobListCvCategory']['enddate']){
?>
<td><?=$cvc['DreamjobCvEntry']['enddate'];?></td>
<td><?=$this->Time->format('d.m.Y',$cvc['DreamjobCvEntry']['enddate']);?></td>
<?php
}else{
?>
@ -86,15 +86,15 @@ if($edit){
}else{
if($cvc['DreamjobListCvCategory']['startdate'] and $cvc['DreamjobListCvCategory']['enddate']){
?>
<td><?=$cvc['DreamjobCvEntry']['startdate'];?> - <?=$cvc['DreamjobCvEntry']['enddate'];?></td>
<td><?=$this->Time->format('d.m.Y',$cvc['DreamjobCvEntry']['startdate']);?> - <?=$this->Time->format('d.m.Y',$cvc['DreamjobCvEntry']['enddate']);?></td>
<?php
}else if($cvc['DreamjobListCvCategory']['startdate']){
?>
<td><?=$cvc['DreamjobCvEntry']['startdate'];?></td>
<td><?=$this->Time->format('d.m.Y',$cvc['DreamjobCvEntry']['startdate']);?></td>
<?php
}else if($cvc['DreamjobListCvCategory']['enddate']){
?>
<td><?=$cvc['DreamjobCvEntry']['enddate'];?></td>
<td><?=$this->Time->format('d.m.Y',$cvc['DreamjobCvEntry']['enddate']);?></td>
<?php
}else{
?>

View File

@ -64,17 +64,17 @@
<?php
if($cvc['DreamjobListCvCategory']['startdate'] and $cvc['DreamjobListCvCategory']['enddate'] and $cvc['DreamjobListCvCategory']['place']){
?>
<td><?=$cvc['DreamjobCvEntry']['startdate'];?> - <?=$cvc['DreamjobCvEntry']['enddate'];?></td>
<td><?=$this->Time->format('d.m.Y',$cvc['DreamjobCvEntry']['startdate']);?> - <?=$this->Time->format('d.m.Y',$cvc['DreamjobCvEntry']['enddate']);?></td>
<td><?=$cvc['DreamjobCvEntry']['title'];?><br/><span><?=$cvc['DreamjobCvEntry']['place'];?></span></td>
<?php
}else if($cvc['DreamjobListCvCategory']['place']){
if($cvc['DreamjobListCvCategory']['startdate']){
?>
<td><?=$cvc['DreamjobCvEntry']['startdate'];?></td>
<td><?=$this->Time->format('d.m.Y',$cvc['DreamjobCvEntry']['startdate']);?></td>
<?php
}else if($cvc['DreamjobListCvCategory']['enddate']){
?>
<td><?=$cvc['DreamjobCvEntry']['enddate'];?></td>
<td><?=$this->Time->format('d.m.Y',$cvc['DreamjobCvEntry']['enddate']);?></td>
<?php
}else{
?>
@ -92,15 +92,15 @@
}else{
if($cvc['DreamjobListCvCategory']['startdate'] and $cvc['DreamjobListCvCategory']['enddate']){
?>
<td><?=$cvc['DreamjobCvEntry']['startdate'];?> - <?=$cvc['DreamjobCvEntry']['enddate'];?></td>
<td><?=$this->Time->format('d.m.Y',$cvc['DreamjobCvEntry']['startdate']);?> - <?=$this->Time->format('d.m.Y',$cvc['DreamjobCvEntry']['enddate']);?></td>
<?php
}else if($cvc['DreamjobListCvCategory']['startdate']){
?>
<td><?=$cvc['DreamjobCvEntry']['startdate'];?></td>
<td><?=$this->Time->format('d.m.Y',$cvc['DreamjobCvEntry']['startdate']);?></td>
<?php
}else if($cvc['DreamjobListCvCategory']['enddate']){
?>
<td><?=$cvc['DreamjobCvEntry']['enddate'];?></td>
<td><?=$this->Time->format('d.m.Y',$cvc['DreamjobCvEntry']['enddate']);?></td>
<?php
}else{
?>