mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Revert "Refactoring: Created constants for datetime values (#1648)"
This reverts commit 6eca29714a
.
This commit is contained in:
parent
6eca29714a
commit
3e9f4006c4
30 changed files with 52 additions and 58 deletions
|
@ -109,7 +109,7 @@ if (isset($_GET['pane']) && $_GET['pane'] == 'left') {
|
|||
$total_topics = $stats['topiccount'];
|
||||
$total_users = $stats['usercount'];
|
||||
$start_date = bb_date($bb_cfg['board_startdate']);
|
||||
$boarddays = (TIMENOW - $bb_cfg['board_startdate']) / DAY_IN_SECS;
|
||||
$boarddays = (TIMENOW - $bb_cfg['board_startdate']) / 86400;
|
||||
|
||||
$posts_per_day = sprintf('%.2f', $total_posts / $boarddays);
|
||||
$topics_per_day = sprintf('%.2f', $total_topics / $boarddays);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue