Datum Format in CV #114
This commit is contained in:
parent
3a9a5099be
commit
6b04d223a4
|
@ -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{
|
||||
?>
|
||||
|
|
|
@ -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{
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue