Commit 5bd64cf4 authored by zhengjinlei's avatar zhengjinlei

更改时区

parent a0dc1188
......@@ -4,7 +4,7 @@
# @File : report_utils.py
import json
import logging
from datetime import datetime
from datetime import datetime, timedelta
from django.db.models import Sum
......@@ -184,9 +184,9 @@ def single_score_stat(t, create_date, stat_count=0):
def re_stat_by_task(task):
single_rules_stat(task, task['createdAt'], 0)
single_seat_stat(task, task['createdAt'], 0)
single_score_stat(task, task['createdAt'], 0)
single_rules_stat(task, task['createdAt'] + timedelta(hours=8), 0)
single_seat_stat(task, task['createdAt'] + timedelta(hours=8), 0)
single_score_stat(task, task['createdAt'] + timedelta(hours=8), 0)
def delete_stat_by_task(task):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment