修改了获取一天最后时刻的bug

Signed-off-by: ghuazh <ghuazh@gmail.com>