Zend_Date language translation

ginoworm

New Member
I have a function that returns me a date string using \[code\]Zend_Date\[/code\].\[code\]$date = new Zend_Date();$date->setOptions(array('format_type' => 'php'));$date->setTimestamp($timestamp);return $date->toString($format);\[/code\]When I set \[code\]$format\[/code\] to \[code\]'l, d F Y'\[/code\] I expect something like: \[code\]?roda, 13 stycznia 2010\[/code\] (correct polish string what means \[code\]Wedneseday, 13 january 2010\[/code\]) and it works good.But when I open this page in a browser with locale set to english it returns me date string in english instead of polish that I want to see.What and where should I set to get always polish date regardless of browser settings ?
 
Back
Top