Changeset 2415

Show
Ignore:
Timestamp:
03/24/2008 03:39:47 PM (10 months ago)
Author:
xue
Message:

fixed #819

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/HISTORY

    r2413 r2415  
    2323BUG: Ticket#808 - Client side validation should work for file upload. (Qiang) 
    2424BUG: Fixed a bug in TPropertyValue::ensureArray() (Qiang) 
     25CHG: Ticket#819 - TLogRoute now displays GM time instead of local time (Qiang) 
    2526CHG: Changed TConditional so that the controls in its template behave like they are in its parent (Qiang) 
    2627CHG: Active Record many-to-many relationship change from self::HAS_MANY to self::MANY_TO_MANY (Wei) 
  • trunk/framework/Util/TLogRouter.php

    r2379 r2415  
    278278        protected function formatLogMessage($message,$level,$category,$time) 
    279279        { 
    280                 return @date('M d H:i:s',$time).' ['.$this->getLevelName($level).'] ['.$category.'] '.$message."\n"; 
     280                return @gmdate('M d H:i:s',$time).' ['.$this->getLevelName($level).'] ['.$category.'] '.$message."\n"; 
    281281        } 
    282282 
     
    916916{ 
    917917        console.log ("[Cumulated Time] [Time] [Level] [Category] [Message]"); 
    918          
     918 
    919919EOD; 
    920920 
    921921                return $string; 
    922922        } 
    923          
     923 
    924924        protected function renderMessage ($log, $info) 
    925925        { 
     
    935935        } 
    936936 
    937          
     937 
    938938        protected function renderFooter () 
    939939        { 
     
    947947                return $string; 
    948948        } 
    949          
     949 
    950950        protected function getFirebugLoggingFunction($level) 
    951951        { 
    952                 switch ($level)  
     952                switch ($level) 
    953953                { 
    954954                        case TLogger::DEBUG: 
     
    965965                return 'console.log'; 
    966966        } 
    967          
     967 
    968968} 
    969969?>