Use 24 hour clock

pull/1757/head
Richard van den Berg 2016-12-13 13:59:11 +01:00
parent 4c02755845
commit 860dd8b686
4 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@ class Thread extends AppModel {
} else {
$thread['Thread']['post_count'] = $count;
if ($add) {
$thread['Thread']['date_modified'] = date('Y/m/d h:i:s');
$thread['Thread']['date_modified'] = date('Y/m/d H:i:s');
}
$this->save($thread);
return true;

View File

@ -55,7 +55,7 @@
foreach ($attributeSightingsPopover as $aid => &$attribute) {
$attributeSightingsPopoverText[$aid] = '';
foreach ($attribute as $org => $data) {
$attributeSightingsPopoverText[$aid] .= '<span class=\'bold\'>' . h($org) . '</span>: <span class=\'green bold\'>' . h($data['count']) . ' (' . date('Y-m-d h:i:s', $data['date']) . ')</span><br />';
$attributeSightingsPopoverText[$aid] .= '<span class=\'bold\'>' . h($org) . '</span>: <span class=\'green bold\'>' . h($data['count']) . ' (' . date('Y-m-d H:i:s', $data['date']) . ')</span><br />';
}
}
}

View File

@ -31,7 +31,7 @@
}
}
foreach ($orgSightings as $org => $data) {
$sightingPopover .= '<span class=\'bold\'>' . h($org) . '</span>: <span class=\'green bold\'>' . h($data['count']) . ' (' . date('Y-m-d h:i:s', $data['date']) . ')' . '</span><br />';
$sightingPopover .= '<span class=\'bold\'>' . h($org) . '</span>: <span class=\'green bold\'>' . h($data['count']) . ' (' . date('Y-m-d H:i:s', $data['date']) . ')' . '</span><br />';
}
}
}

View File

@ -93,7 +93,7 @@
<?php echo h($event['ShadowAttribute']['type']);?>
</td>
<td class="short" onclick="document.location.href ='<?php echo $baseurl."/events/view/".$event['Event']['id'];?>'">
<?php echo date('Y-m-d h:i:s', $event['ShadowAttribute']['timestamp']);?>
<?php echo date('Y-m-d H:i:s', $event['ShadowAttribute']['timestamp']);?>
</td>
</tr>
<?php endforeach; ?>