Changeset 587 for trunk


Ignore:
Timestamp:
Oct 15, 2013, 8:46:53 PM (11 years ago)
Author:
chronos
Message:
  • Fixed: Show human readable date in items in system log RSS channel.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Log/Log.php

    r586 r587  
    7979    if(array_key_exists('type', $_GET)) $Where = ' WHERE `Type` = "'.($_GET['type'] * 1).'"';
    8080      else $Where = '';
    81     $sql = 'SELECT *, UNIX_TIMESTAMP(`Date`) AS `TimeCreate`, (SELECT `User`.`Name` FROM `User` WHERE `User`.`ID` = `Log`.`User`) AS `UserName` FROM `Log`'.
     81    $sql = 'SELECT *, UNIX_TIMESTAMP(`Date`) AS `TimeCreate`, (SELECT `User`.`Name` FROM `User` WHERE `User`.`ID` = `Log`.`User`) AS `UserName`, `Date` FROM `Log`'.
    8282      $Where.' ORDER BY `Date` DESC LIMIT 100';
    8383    $DbResult = $this->System->Database->query($sql);
     
    9494        'Title' => $LogType['Name'].' ('.$Line['UserName'].', '.$Line['IP'].')',
    9595        'Link' => 'http://'.$this->System->Config['Web']['Host'].$this->System->Link('/log.php'),
    96         'Description' => $LogType['Name'].': '.$Line['Text'].' ('.$Line['UserName'].', '.$Line['IP'].', '.$Line['TimeCreate'].')',
     96        'Description' => $LogType['Name'].': '.$Line['Text'].' ('.$Line['UserName'].
     97          ', '.$Line['IP'].', '.HumanDate($Line['Date']).')',
    9798        'Time' => $Line['TimeCreate'],
    9899      );
  • trunk/includes/Version.php

    r586 r587  
    11<?php
    22
    3 $Revision = 586; // Subversion revision
     3$Revision = 587; // Subversion revision
    44$DatabaseRevision = 585; // Database structure revision
    5 $ReleaseTime = '2013-10-07';
     5$ReleaseTime = '2013-10-15';
Note: See TracChangeset for help on using the changeset viewer.