Changeset 925 for trunk/Modules/Network/Network.php
- Timestamp:
- May 10, 2022, 11:05:51 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Network/Network.php
r921 r925 896 896 { 897 897 $Duration = $Time - MysqlDateTimeToTime($Item['LastOnline']); 898 $DurationText = sprintf('%02d', floor($Duration / 3600 % 24)).':'.899 sprintf('%02d', floor($Duration / 60 % 60)).':'.900 sprintf('%02d', floor($Duration % 60));898 $DurationText = sprintf('%02d', floor($Duration / 3600) % 24).':'. 899 sprintf('%02d', floor($Duration / 60) % 60).':'. 900 sprintf('%02d', floor($Duration) % 60); 901 901 $Days = floor($Duration / (60 * 60 * 24)); 902 902 if ($Days > 0) $DurationText = $Days.' dnů '.$DurationText; … … 947 947 { 948 948 $Duration = $Time - MysqlDateTimeToTime($Item['LastOnline']); 949 $DurationText = sprintf('%02d', floor($Duration / 3600 % 24)).':'.950 sprintf('%02d', floor($Duration / 60 % 60)).':'.951 sprintf('%02d', floor($Duration % 60));949 $DurationText = sprintf('%02d', floor($Duration / 3600) % 24).':'. 950 sprintf('%02d', floor($Duration / 60) % 60).':'. 951 sprintf('%02d', floor($Duration) % 60); 952 952 $Days = floor($Duration / (60 * 60 * 24)); 953 953 if ($Days > 0) $DurationText = $Days.' dnů '.$DurationText;
Note:
See TracChangeset
for help on using the changeset viewer.