mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Bug [0001234] Wrong estimated remaining time, if total amount of time is greather than 24 hours
This commit is contained in:
parent
6793947819
commit
1ee32150da
1 changed files with 6 additions and 1 deletions
|
|
@ -748,7 +748,12 @@ begin
|
|||
begin
|
||||
if RemainingTime > 0 then
|
||||
begin
|
||||
sEstimated := FormatDateTime('HH:MM:SS', RemainingTime);
|
||||
// Normal view, less than 24 hours of estimated time
|
||||
if RemainingTime < 1.0 then
|
||||
sEstimated := FormatDateTime('HH:MM:SS', RemainingTime)
|
||||
else begin
|
||||
sEstimated := IntToStr(Trunc(RemainingTime)) + '``' + FormatDateTime('HH:MM:SS', RemainingTime);
|
||||
end;
|
||||
sEstimated := Format(rsDlgSpeedTime, [Speed, sEstimated]);
|
||||
end
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue