Skip to content
Snippets Groups Projects
Commit d1034c31 authored by Riccardo Boero's avatar Riccardo Boero :innocent:
Browse files

fixed task duration function

parent b3dddcb2
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,9 @@ function run_task(task_name::String, task_info::Dict, dependencies_info::Dict,
println("Completed task $task_name at $(Dates.format(end_time, "HH:MM:SS"))")
# Calculate and print the duration
duration = print_duration_in_hms(end_time - start_time) # Duration as a Period type
duration = end_time - start_time # Duration as a Period type
println(Dates.value(duration))
duration = print_duration_in_hms(duration) # Duration as a Period type
println("Duration of task $task_name: $duration")
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment