Then define the output you want...  use toString()...
Printing the object without giving recommendations does probably not use the format you want to have.

Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com

----- Original Message ----- From: "whisher" <[email protected]>
To: <[email protected]>
Sent: Monday, February 15, 2010 12:25 PM
Subject: [fw-general] Re: Localization Format date helper.



This workish
$locale = new Zend_Locale('en_US');
$date = new Zend_Date('2010-02-15
10:53:26',Zend_Locale_Format::getDateFormat($locale) , $locale);
echo $date;
but the output isn't very nice :(


--
View this message in context: http://n4.nabble.com/Localization-Format-date-helper-tp1555937p1555995.html Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to