Compare commits
No commits in common. "ec1c7173411d0d60fd524bc2e36d3d3a40c24201" and "22bb79bfbdfb273580fe1b10c8e4ccb47191d7e6" have entirely different histories.
ec1c717341
...
22bb79bfbd
@ -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!(
|
||||||
|
Loading…
Reference in New Issue
Block a user