foreach ($certs['date'] as $date)␊ |
$dates[] = gmdate('Y-m-d H:i:s', strtotime($date));␊ |
$file['date'] = implode(', ', $dates);␊ |
$file['log'] = substr(implode("; ", $certs['changelog']), 0, 80);␊ |
$file['log'] = implode("\n---\n", $certs['changelog']);␊ |
}␊ |
␊ |
$files[] = (object) $file;␊ |
|
foreach ($certs['date'] as $date)␊ |
$dates[] = gmdate('Y-m-d H:i:s', strtotime($date));␊ |
$file['date'] = implode(', ', $dates);␊ |
$file['log'] = substr(implode("; ", $certs['changelog']), 0, 80);␊ |
$file['log'] = implode("\n---\n", $certs['changelog']);␊ |
}␊ |
␊ |
return (object) $file;␊ |
|
$dates[] = gmdate('Y-m-d H:i:s', strtotime($date));␊ |
$res['date'] = implode(', ', $dates);␊ |
␊ |
$res['title'] = implode("\n---\n, ", $certs['changelog']);␊ |
$res['title'] = implode("\n---\n", $certs['changelog']);␊ |
␊ |
$res['commit'] = $revs[0];␊ |
␊ |