change date form in administration

edited March 2012 in Modules
function list_items($limit = NULL, $offset = NULL, $col = 'name', $order = 'asc') { $this->db->select('id, name, email, bio, avatar, date_added, date, published', FALSE); $data = parent::list_items($limit, $offset, $col, $order); return $data; }

and date_added in administration is like 2012-03-30 23:56:22. All others dates are the same type. Can i somehow make it dd.mm.yyyy generaly that all dates will have this form? The same at view...

Thank you

Comments

  • edited 1:47AM
    You can loop through the $data array and translate it to the format you need. There will be a little better support for changing the date format in the next release.
Sign In or Register to comment.