Using Helper $time->niceShort with german settings in CakePHP 1.2

Posted by nolandark on Stack Overflow See other posts from Stack Overflow or by nolandark
Published on 2010-05-25T17:18:18Z Indexed on 2010/05/25 17:21 UTC
Read the original article Hit count: 322

Filed under:
|
|
|

I want to use the CakePHP Helper "time" and his method niceShort to transform a date into a nice, easy to read one. Instead of the english default transformation I want to use a localized version (in my case: "german") but I don't know where to set this. How can I localize this method?

echo $time->niceShort($comment['created']);

© Stack Overflow or respective owner

Related posts about cakephp

Related posts about localization