ltv
This commit is contained in:
parent
3f50754fc6
commit
a729174c51
@ -36,8 +36,8 @@ class XAnalysis:
|
||||
self.event_view = report['query']['eventView']
|
||||
self.events = report['query']['events']
|
||||
e_days, s_days = self.event_view['recentDay'].split('-')
|
||||
self.event_view['endTime'] = arrow.get().shift(days=-int(e_days)).strftime('%Y-%m-%d 23:59:59')
|
||||
self.event_view['startTime'] = arrow.get().shift(days=-int(s_days)).strftime('%Y-%m-%d 00:00:00')
|
||||
self.event_view['endTime'] = arrow.get().shift(days=-int(e_days)+1).strftime('%Y-%m-%d 23:59:59')
|
||||
self.event_view['startTime'] = arrow.get().shift(days=-int(s_days)+1).strftime('%Y-%m-%d 00:00:00')
|
||||
|
||||
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user