Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_common
Commits
10ac6540
Commit
10ac6540
authored
Feb 21, 2023
by
BO ZHANG
🏀
Browse files
update dm.now
parent
d5632463
Changes
1
Show whitespace changes
Inline
Side-by-side
csst_common/data_manager.py
View file @
10ac6540
...
@@ -287,7 +287,8 @@ class CsstMsDataManager:
...
@@ -287,7 +287,8 @@ class CsstMsDataManager:
@
staticmethod
@
staticmethod
def
now
():
def
now
():
return
datetime
.
datetime
.
now
().
strftime
(
'%Y-%m-%d %H:%M:%S'
)
""" Return ISOT8601 format datetime. """
return
datetime
.
datetime
.
now
().
strftime
(
'%Y-%m-%dT%H:%M:%S.%f'
)
# DFS APIs
# DFS APIs
@
property
@
property
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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