Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
integrated-scheduling
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
张晓彤
integrated-scheduling
Commits
711d6723
Commit
711d6723
authored
Oct 29, 2021
by
Allvey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复时间格式BUG
parent
eb0d2a57
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
realtime_dispatch.py
realtime_dispatch.py
+3
-3
No files found.
realtime_dispatch.py
View file @
711d6723
...
@@ -900,7 +900,7 @@ class Dispatcher(WalkManage):
...
@@ -900,7 +900,7 @@ class Dispatcher(WalkManage):
record
[
"isdeleted"
]
=
False
record
[
"isdeleted"
]
=
False
record
[
"creator"
]
=
item
.
creator
record
[
"creator"
]
=
item
.
creator
record
[
"createtime"
]
=
item
.
createtime
.
strftime
(
record
[
"createtime"
]
=
item
.
createtime
.
strftime
(
"
%
b
%
d,
%
Y
%
#
I:
%#
M:
%#
S
%
p"
)
"
%
b
%
d,
%
Y
%
H:
%
M:
%
S
%
p"
)
elif
task
in
heavy_task_set
:
elif
task
in
heavy_task_set
:
item
=
(
item
=
(
session_mysql
.
query
(
Dispatch
)
session_mysql
.
query
(
Dispatch
)
...
@@ -913,7 +913,7 @@ class Dispatcher(WalkManage):
...
@@ -913,7 +913,7 @@ class Dispatcher(WalkManage):
record
[
"isdeleted"
]
=
False
record
[
"isdeleted"
]
=
False
record
[
"creator"
]
=
item
.
creator
record
[
"creator"
]
=
item
.
creator
record
[
"createtime"
]
=
item
.
createtime
.
strftime
(
record
[
"createtime"
]
=
item
.
createtime
.
strftime
(
"
%
b
%
d,
%
Y
%
#
I:
%#
M:
%#
S
%
p"
)
"
%
b
%
d,
%
Y
%
H:
%
M:
%
S
%
p"
)
elif
task
==
-
2
:
elif
task
==
-
2
:
item
=
(
item
=
(
session_mysql
.
query
(
Dispatch
)
session_mysql
.
query
(
Dispatch
)
...
@@ -926,7 +926,7 @@ class Dispatcher(WalkManage):
...
@@ -926,7 +926,7 @@ class Dispatcher(WalkManage):
record
[
"isdeleted"
]
=
False
record
[
"isdeleted"
]
=
False
record
[
"creator"
]
=
item
.
creator
record
[
"creator"
]
=
item
.
creator
record
[
"createtime"
]
=
item
.
createtime
.
strftime
(
record
[
"createtime"
]
=
item
.
createtime
.
strftime
(
"
%
b
%
d,
%
Y
%
#
I:
%#
M:
%#
S
%
p"
)
"
%
b
%
d,
%
Y
%
H:
%
M:
%
S
%
p"
)
else
:
else
:
pass
pass
...
...
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