You need to see following section of the manual with "LC_TIME" keyword: http://book.cakephp.org/2.0/en/appendices/new-features-in-cakephp-1-3.html?highlight=lc_time The Book seems to be unkind for it, TimeHelper, not appendices, document should have detail information I think!
2012/1/3 MetZ <[email protected]>: > Hi all. > I am currently "struggling" with localizing my created and modified > values from db. > > I am using the Time helper, and have tried to get it to output real > nice. > > echo $time->niceShort($post['Post']['created']); > > This gived me the Today, Yesterday, and Dec 29th 2011, 23:33 > > Translating of the Today and Yesterday I have done in my locale.po > file, so they are no problem, but I can not seem to get the Dec 29th > 2011 to display as: 29 Des 2011 or similar. > > How can I get it working? Any suggestions? > I have all, Jan -> Dec in locale.po file, but they do not translate > using time helper. > > Any and all help! Much Appreciated! > Thanks! > -Tom > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group at > http://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
