From 609e9ec46167d32920afbcf3425eb7a2a622a521 Mon Sep 17 00:00:00 2001 From: colly_wyx <wangyixiong_007@163.com> Date: Fri, 20 Apr 2018 10:19:32 +0800 Subject: [PATCH] 更新时间区间 --- application/library/Service/DataThreeHourly.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/application/library/Service/DataThreeHourly.php b/application/library/Service/DataThreeHourly.php index ad81827..b4e1505 100644 --- a/application/library/Service/DataThreeHourly.php +++ b/application/library/Service/DataThreeHourly.php @@ -21,7 +21,7 @@ $hourly_model = new DataHourlyModel(); $hour = ($time_level - 1)*3; $start_hour = $hour.':00:00'; - $end_hour = ($hour + 2).':00:00'; + $end_hour = ($hour + 2).':05:00'; if($hour < 10 ){ $start_hour = '0'.$start_hour; } -- Gitblit v1.8.0