forked from Ruderverein-Donau-Linz/rowt
		
	allow for smaller m
This commit is contained in:
		@@ -281,12 +281,11 @@ async fn new_dozen(
 | 
			
		||||
    if let Err(e) = data.proof.move_copy_to(file_path).await {
 | 
			
		||||
        eprintln!("Failed to persist file: {:?}", e);
 | 
			
		||||
    }
 | 
			
		||||
    let result = data.result.trim();
 | 
			
		||||
    let result = if result.len() == 4 {
 | 
			
		||||
result.to_string()
 | 
			
		||||
    }else{
 | 
			
		||||
    let result = result.trim_start_matches(|c| c == '0' || c == ' ');
 | 
			
		||||
    let result = data.result.trim_start_matches(|c| c == '0' || c == ' ');
 | 
			
		||||
    let result = if result.contains(":") || result.contains(".") {
 | 
			
		||||
     format_time(result)
 | 
			
		||||
    }else{
 | 
			
		||||
result.to_string()
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    sqlx::query!(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user