Changeset 865
- Timestamp:
- Feb 5, 2016, 11:51:42 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/Version.php
r864 r865 7 7 8 8 $Version = '1.0'; 9 $Revision = 86 4; // Subversion revision9 $Revision = 865; // Subversion revision 10 10 $DatabaseRevision = 857; // Database structure revision 11 11 $ReleaseDate = strtotime('2016-02-05'); -
trunk/Modules/Export/Export.php
r864 r865 744 744 // Show estimated time to complete 745 745 $PrefixMultiplier = new PrefixMultiplier(); 746 $EstimatedTime = (time() - MysqlDateTimeToTime($Task['TimeStart'])) / $Task['Progress'] * (100 - $Task['Progress']); 747 $Output .= 'Zbývající odhadovaný čas: '.$PrefixMultiplier->Add($EstimatedTime, '', 4, 'Time').'<br/>'; 746 if($Task['Progress'] > 0) { 747 $EstimatedTime = (time() - MysqlDateTimeToTime($Task['TimeStart'])) / $Task['Progress'] * (100 - $Task['Progress']); 748 $Output .= 'Zbývající odhadovaný čas: '.$PrefixMultiplier->Add($EstimatedTime, '', 4, 'Time').'<br/>'; 749 } 748 750 749 751 if($Task['Progress'] > 99)
Note:
See TracChangeset
for help on using the changeset viewer.