Skip to content

Commit

Permalink
Fix time truncation
Browse files Browse the repository at this point in the history
  • Loading branch information
TrueDoctor committed May 29, 2024
1 parent 37f44cb commit 2f1b9cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ impl MealDetail {
recipe_filter: Default::default(),
place_filter: Default::default(),
start_time: InputState::new(start_time[..(start_time.len() - 3)].to_string()),
end_time: InputState::new(end_time[..(start_time.len() - 1)].to_string()),
end_time: InputState::new(end_time[..(end_time.len() - 3)].to_string()),
servings: InputState::new(new_meal.servings.to_string()),
energy: InputState::new(new_meal.energy.to_string()),
comment: InputState::new(new_meal.comment.unwrap_or_default()),
Expand Down

0 comments on commit 2f1b9cd

Please sign in to comment.