Doc bugs - Date and Time Formatting
Posted 26 November 2008 - 07:06 AM
Probably needs to be $dateFormatter->format('yyyy-MM-dd',$timestamp)
Same goes for $formatter->format('#,##0.00',$number).
Perhaps create one topic for these tiny but important doc-bugs?
Posted 26 November 2008 - 04:33 PM
Yii::App()->dateFormatter->format('EE HH:mm', $dt)
Format spec 'E', 'EE' and 'EEE' all returns a three letter weekday abbreviation. According to the manual it's expected to be 1,2 or 3 letters.
Posted 26 November 2008 - 05:41 PM