aboutsummaryrefslogtreecommitdiff
path: root/mostviewedimagestoday.php
diff options
context:
space:
mode:
Diffstat (limited to 'mostviewedimagestoday.php')
-rw-r--r--mostviewedimagestoday.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mostviewedimagestoday.php b/mostviewedimagestoday.php
index 9f7c10113..04f051317 100644
--- a/mostviewedimagestoday.php
+++ b/mostviewedimagestoday.php
@@ -14,9 +14,9 @@
$max = 24;
- //find timestamps for today
+ //find timestamps for today
$time_info = new stdClass();
- $time_info->start = mktime(0,0,0, date("m"), 1, date("Y"));
+ $time_info->start = mktime(0,0,0, date("m"), date("d"), date("Y"));
$time_info->end = mktime();
//this works but is wildly inefficient