diff --git a/app/pages/dashboard.php b/app/pages/dashboard.php index ae6313e..a9fe4d5 100644 --- a/app/pages/dashboard.php +++ b/app/pages/dashboard.php @@ -1,5 +1,14 @@ sub(new DateInterval('P1Y')); $fromMonth->modify('first day of this month'); @@ -83,6 +98,12 @@ if ($response['db'] === null) { //// // conferences in last 2 days + /** + * Conferences in the last 2 days. + * + * Displays a summary of all conferences held in the past 48 hours. + */ + // time range limit $from_time = date('Y-m-d', time() - 60 * 60 * 24 * 2); $until_time = date('Y-m-d', time()); @@ -142,6 +163,12 @@ if ($response['db'] === null) { //// // last 10 conferences + /** + * Last 10 conferences. + * + * Displays the 10 most recent conferences in the database. + */ + // all time $from_time = '0000-01-01'; $until_time = '9999-12-31';