Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
rota
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
0
Merge Requests
0
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
刘丙寅
rota
Commits
33d20f06
Commit
33d20f06
authored
May 17, 2021
by
刘丙寅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jenkins调试
parent
32da5a5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
rota_gm_new.py
rota_gm_new.py
+1
-1
No files found.
rota_gm_new.py
View file @
33d20f06
...
@@ -8,7 +8,7 @@ def test():
...
@@ -8,7 +8,7 @@ def test():
from
datetime
import
date
,
timedelta
from
datetime
import
date
,
timedelta
r
=
redis
.
Redis
()
r
=
redis
.
Redis
()
today
=
date
.
today
()
today
=
date
.
today
()
today
=
today
+
timedelta
(
days
=-
9
)
today
=
today
+
timedelta
(
days
=-
3
)
format_today
=
today
.
strftime
(
"
%
Y
%
m
%
d"
)
format_today
=
today
.
strftime
(
"
%
Y
%
m
%
d"
)
tomorrow
=
today
+
timedelta
(
days
=
1
)
tomorrow
=
today
+
timedelta
(
days
=
1
)
format_tomorrow
=
tomorrow
.
strftime
(
"
%
Y
%
m
%
d"
)
format_tomorrow
=
tomorrow
.
strftime
(
"
%
Y
%
m
%
d"
)
...
...
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