changed the date/time format in the project home view

This commit is contained in:
hyung-hwan 2016-12-17 16:35:14 +00:00
parent 0bf2ebc596
commit 9fa95d5b23

View File

@ -219,8 +219,7 @@ foreach ($urls as $url)
$xdot = $this->converter->AsciiToHex ('.'); $xdot = $this->converter->AsciiToHex ('.');
foreach ($log_entries as $log) foreach ($log_entries as $log)
{ {
$createdon = codepot_dbdatetodispdate ($log['createdon'], 'Y-m-d H:i');
$createdon_mmdd = codepot_dbdatetodispdate ($log['createdon'], 'Y-m-d');
if ($log['type'] == 'code') if ($log['type'] == 'code')
{ {
@ -228,7 +227,7 @@ foreach ($urls as $url)
print '<tr class="odd">'; print '<tr class="odd">';
print '<td class="date">'; print '<td class="date">';
print $createdon_mmdd; print $createdon;
print '</td>'; print '</td>';
print '<td class="object">'; print '<td class="object">';
print anchor ( print anchor (
@ -271,7 +270,7 @@ foreach ($urls as $url)
{ {
print '<tr class="odd">'; print '<tr class="odd">';
print '<td class="date">'; print '<td class="date">';
print $createdon_mmdd; print $createdon;
print '</td>'; print '</td>';
print '<td class="object">'; print '<td class="object">';