Commit 93b47edf22503715e22e7dc711b76ecbe0cbc12e
1 parent
a041ccc6
Rename get_date; use robot's timestamp format
http://robotframework.org/robotframework /2.8.7/libraries/DateTime.html#Custom%20timestamp
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -23,8 +23,8 @@ from .local_time import get_now, TZ | @@ -23,8 +23,8 @@ from .local_time import get_now, TZ | ||
23 | import os | 23 | import os |
24 | 24 | ||
25 | 25 | ||
26 | -def get_date(): | ||
27 | - return get_now().isoformat() | 26 | +def get_current_tzdate(): |
27 | + return get_now().strftime('%Y-%m-%d %H:%M:%S.%f') | ||
28 | 28 | ||
29 | 29 | ||
30 | def get_file_contents(path): | 30 | def get_file_contents(path): |
Please
register
or
login
to post a comment