Compare commits

..

No commits in common. "9d3b1d522b035f9438727374dae446c088a48340" and "85b39d472c5da1216f0cb09fc939c5bbcdc8a0ca" have entirely different histories.

View File

@ -281,11 +281,12 @@ async fn new_dozen(
if let Err(e) = data.proof.move_copy_to(file_path).await { if let Err(e) = data.proof.move_copy_to(file_path).await {
eprintln!("Failed to persist file: {:?}", e); eprintln!("Failed to persist file: {:?}", e);
} }
let result = data.result.trim_start_matches(|c| c == '0' || c == ' '); let result = data.result.trim();
let result = if result.contains(":") || result.contains(".") { let result = if result.len() == 4 {
format_time(result)
}else{
result.to_string() result.to_string()
}else{
let result = result.trim_start_matches(|c| c == '0' || c == ' ');
format_time(result)
}; };
sqlx::query!( sqlx::query!(