timezone in cron_daily
Problem: because if timezone the cron: $yesterday = date('Ymd',strtotime("-1 day", time())); returns bad day. (it returns the day before yesterday) Causing the stats not update correctly.
example: cron executes 25.01.2012 00:30:01 but $yesterday = 20120123;
resulting into stats shown after 2 days.
solution is probadly to somehow detect right timezone and set it on begining using date_default_timezone_set