mirror of https://github.com/MISP/MISP
Use 24 hour clock
parent
4c02755845
commit
860dd8b686
|
@ -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;
|
||||
|
|
|
@ -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 />';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 />';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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; ?>
|
||||
|
|
Loading…
Reference in New Issue