Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
V
vest
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rank
vest
Commits
9b772f83
Commit
9b772f83
authored
Jan 19, 2020
by
李小芳
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'change_time_outdate' into 'master'
add See merge request
!37
parents
652ca1b4
e8714d49
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
process_time.py
moment/views/process_time.py
+1
-1
No files found.
moment/views/process_time.py
View file @
9b772f83
...
...
@@ -366,7 +366,7 @@ def judge_offset_partition_have_consum(card_info=None, offset=0, partition=0):
create_time
=
card_info
[
'create_time'
]
datetime_create_time
=
datetime
.
datetime
.
strptime
(
create_time
,
'
%
Y-
%
m-
%
d
%
H:
%
M:
%
S'
)
str_data
=
str
(
datetime_create_time
.
year
)
+
str
(
datetime_create_time
.
month
)
+
str
(
datetime_create_time
.
day
)
if
str_data
in
[
'20191229'
,
'20191230'
,
'20191228'
]:
if
str_data
in
[
'20191229'
,
'20191230'
,
'20191228'
,
'20191227'
]:
return
False
redis_list_data
=
0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment