1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 07:36:32 +02:00

Change default IPV4 display format, admin log date/time display format

This commit is contained in:
e107steved
2008-11-23 20:26:23 +00:00
parent 741a2cf061
commit 513d704890
2 changed files with 8 additions and 7 deletions

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/admin_log.php,v $
| $Revision: 1.18 $
| $Date: 2008-11-22 12:57:25 $
| $Revision: 1.19 $
| $Date: 2008-11-23 20:26:23 $
| $Author: e107steved $
|
| Preferences:
@@ -41,6 +41,7 @@ unset($qs);
require_once(e_ADMIN."auth.php");
define ('AL_DATE_TIME_FORMAT', 'y-m-d H:i:s');
if (isset($_POST['setoptions']))
{
@@ -884,7 +885,7 @@ function log_process($matches)
switch ($cf)
{
case 'cf_datestring' :
$val = date("d-m-y H:i:s",$row['dblog_datestamp']);
$val = date(AL_DATE_TIME_FORMAT,$row['dblog_datestamp']);
break;
case 'cf_microtime' :
$val = date("H:i:s",intval($row['dblog_time']) % 86400).'.'.str_pad(100000*round($row['dblog_time']-floor($row['dblog_time']),6),6,'0');