summaryrefslogtreecommitdiffstats
path: root/wizard
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-01-05 15:31:24 +0100
committerRemi Collet <remi@php.net>2024-01-05 15:31:24 +0100
commit15dd72302e2d75e3304d5803b3c9d6bb3cd18bd4 (patch)
tree7b815e82e249476324d3b4c39eed84b4bb82a93c /wizard
parent95aa1f29a8ccf8d3be7bbf126da9e47564b6f78b (diff)
Wizard: answers per day
Diffstat (limited to 'wizard')
-rw-r--r--wizard/index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/wizard/index.php b/wizard/index.php
index 87505c53..3d54b282 100644
--- a/wizard/index.php
+++ b/wizard/index.php
@@ -470,7 +470,9 @@ if ($php && $os && $type && !$err) {
<li><a href='https://twitter.com/RemiRepository'>Repository twitter account</a></li>
<li><a href='https://discord.gg/qwC6kM2dcE'>Discord server</a></li>
<li><?php
- printf("<b>%d answers</b> given", $counter);
+ $day = (time() - mktime(0,0,0,12,8,2015)) / 86400;
+ $rate = $counter / $day;
+ printf("<b>%d answers</b> given since Dec 2015<br><b>%d answers</b> per day", $counter, $rate);
?></li>
</ul><br /><br /><br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"><div>