fix download ETA dispay

This commit is contained in:
Alex Shnitman 2023-10-19 19:20:32 +03:00
parent cace4ba0b1
commit fb6b4a1ec1

View file

@ -16,7 +16,7 @@ export class EtaPipe implements PipeTransform {
} }
const hours = Math.floor(value/3600) const hours = Math.floor(value/3600)
const minutes = value % 3600 const minutes = value % 3600
return `${hours}h ${Math.floor(minutes/60)}m ${minutes%60}s`; return `${hours}h ${Math.floor(minutes/60)}m ${Math.floor(minutes%60)}s`;
} }
} }