15 seconds is not now
This commit is contained in:
		
							parent
							
								
									b3cd705fb6
								
							
						
					
					
						commit
						ac7da998a2
					
				@ -198,7 +198,7 @@ namespace
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  QString since(QDateTime time){
 | 
					  QString since(QDateTime time){
 | 
				
			||||||
      int delta = time.toUTC().secsTo(DriftingDateTime::currentDateTimeUtc());
 | 
					      int delta = time.toUTC().secsTo(DriftingDateTime::currentDateTimeUtc());
 | 
				
			||||||
      if(delta < 30){
 | 
					      if(delta < 15){
 | 
				
			||||||
          return QString("now");
 | 
					          return QString("now");
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user