I solved the problem:)
I extended the class time..
fromString($dateString, $userOffset);
} else {
$date = time();
}
$format = $this->convertSpecifiers('%a, %e %b %Y, %H:%M',
$date);
return strftime($format, $date);
}
}
?>
in views/ elements
Nice->nice($
EDIT:
On 5 svi, 23:10, Salines wrote:
> Hi, Boys&Girls,
>
> I have small problem using $this->Time->nice('2011-04-01 18:00')
> return me pet, tra 1st 2011, 18:00 ;
>
*** As you see '1st', i don't need that format :)
>
> I need result in following format: pet, 1 tra 2011, 18:00, where &
> how ca
Hi, Boys&Girls,
I have small problem using $this->Time->nice('2011-04-01 18:00')
return me pet, tra 1st 2011, 18:00 ;
Is you see '1st', i don't need that format :)
I need result in following format: pet, 1 tra 2011, 18:00, where &
how can I do? :)
Thx
--
Our newest site for the community: C