Commit eee7ce75 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

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

parents 4e35ccab 4f4cc449
......@@ -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