mirror of https://github.com/aria2/aria2
				
				
				
			2008-09-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added the message that the time is in local time zone. * src/RequestGroup.ccpull/1/head
							parent
							
								
									eb652b570e
								
							
						
					
					
						commit
						dc8915f599
					
				| 
						 | 
				
			
			@ -1,3 +1,8 @@
 | 
			
		|||
2008-09-08  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
 | 
			
		||||
 | 
			
		||||
	Added the message that the time is in local time zone.
 | 
			
		||||
	* src/RequestGroup.cc
 | 
			
		||||
 | 
			
		||||
2008-09-08  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
 | 
			
		||||
 | 
			
		||||
	Implemented the ability to get timestamp from remote FTP server using
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1030,7 +1030,8 @@ void RequestGroup::applyLastModifiedTimeToLocalFiles()
 | 
			
		|||
{
 | 
			
		||||
  if(!_pieceStorage.isNull() && _lastModifiedTime.good()) {
 | 
			
		||||
    time_t t = _lastModifiedTime.getTime();
 | 
			
		||||
    _logger->info("Applying Last-Modified time: %s", ctime(&t));
 | 
			
		||||
    _logger->info("Applying Last-Modified time: %s in local time zone",
 | 
			
		||||
		  ctime(&t));
 | 
			
		||||
    size_t n =
 | 
			
		||||
      _pieceStorage->getDiskAdaptor()->utime(Time(), _lastModifiedTime);
 | 
			
		||||
    _logger->info("Last-Modified attrs of %zu files were updated.", n);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue