From 8fccc8fe3a960a26ce07e541ead21c678ed9e7ea Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Thu, 6 Jun 2013 11:57:46 +0200 Subject: [PATCH] proper time range --- public/templates/mmcFE/statistics/user/default.tpl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/public/templates/mmcFE/statistics/user/default.tpl b/public/templates/mmcFE/statistics/user/default.tpl index 201c783c..aec27d29 100644 --- a/public/templates/mmcFE/statistics/user/default.tpl +++ b/public/templates/mmcFE/statistics/user/default.tpl @@ -6,21 +6,21 @@ -{for $i=date('G', time() + 60 * 60) to 23} - {$i} +{for $i=date('G') to 23} + {$i}:00 {/for} -{for $i=0 to date('G')} - {$i} +{for $i=0 to date('G', time () - 60 * 60)} + {$i}:00 {/for} {$GLOBAL.USERDATA.username} -{for $i=date('G', time() + 60 * 60) to 23} +{for $i=date('G') to 23} {$YOURHASHRATES.$i|default:"0"} {/for} -{for $i=0 to date('G')} +{for $i=0 to date('G', time() - 60 * 60)} {$YOURHASHRATES.$i|default:"0"} {/for}