Commit 4f4cc449 authored by Liam Sharpe's avatar Liam Sharpe
Browse files

Changed the format of the date on folder block - Bug #1543342

behatnotneeded

Change-Id: Id1daeae4d24b47b9c8de5c2547291e8042cadd73
parent cedcd0ad
......@@ -2040,7 +2040,7 @@ class ArtefactTypeFolder extends ArtefactTypeFileBase {
foreach ($childrecords as &$child) {
$c = artefact_instance_from_id($child->id);
$child->title = $child->hovertitle = $c->get('title');
$child->date = format_date(strtotime($child->mtime), 'strfdaymonthyearshort');
$child->date = format_date(strtotime($child->mtime), 'strftimedaydatetime');
$child->iconsrc = call_static_method(generate_artefact_class_name($child->artefacttype), 'get_icon', array('id' => $child->id, 'viewid' => isset($options['viewid']) ? $options['viewid'] : 0));
}
$smarty->assign('children', $childrecords);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment