how did nobody spot this? x_x
This commit is contained in:
		
							parent
							
								
									4b9f311ffd
								
							
						
					
					
						commit
						7c946db89f
					
				@ -100,7 +100,7 @@ function autodate($date, $html=true) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	$format = $config->get_string('autodate_format', "F j, Y");
 | 
						$format = $config->get_string('autodate_format', "F j, Y");
 | 
				
			||||||
	$seconds = time() - strtotime($date);
 | 
						$seconds = time() - strtotime($date);
 | 
				
			||||||
	$ago = seconds_to_time($date) . " ago";
 | 
						$ago = seconds_to_time($seconds) . " ago";
 | 
				
			||||||
	$on = "on " . date($format, strtotime($date));
 | 
						$on = "on " . date($format, strtotime($date));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if($config->get_bool('use_autodate', true)) {
 | 
						if($config->get_bool('use_autodate', true)) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user