On Thu, Jan 22, 2009 at 2:21 AM, Diego Caro <[email protected]> wrote:
>
> Hi for all.
>
> I read [1], but that method doesn't works for me. I want to translate
> the short name a month (for example: "Jan", to "Ene" in spanish )
> using TimeHelper (timeAgoInWords function). How to make it?
>
> Thanks, and good luck ;-).
>
> [1] 
> http://groups.google.com/group/cake-php/browse_thread/thread/6d130fdab7c0d45f/3e224389f5b4ebbf?lnk=gst&q=l10n+date
>

I'm facing the same problem.
I can get the right localization only using setlocale() and strftime
PHP functions.
What is making me crazy, and is not 100% cake related, is that when I
convert the database datetime value to an integer I always loose the
time details both using PHP or some of the TimeHelper function. I
preserve time only with format and nice or niceshort, but none of them
let me format the date as I wish and localize it at the same time. Any
idea?
Thanks.

Andrea


-- 
Andrea "Mirthis" Cardinale
Webmaster in the "Land ...of Silence"
http://www.sonataarctica.it
MSN: [email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to