Store time in UTC

This commit is contained in:
Latif Khalifa
2013-09-22 05:28:48 +02:00
parent d4dff48c29
commit bc51e85f2c
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ class Layout
function since($since)
{
$since = time() - $since;
$since = time() - date("Z") - $since;
$chunks = array(
array(60 * 60 * 24 * 365 , 'year'),
array(60 * 60 * 24 * 30 , 'month'),