Commit 93b47edf22503715e22e7dc711b76ecbe0cbc12e

Authored by selurvedu
1 parent a041ccc6

Rename get_date; use robot's timestamp format

http://robotframework.org/robotframework
/2.8.7/libraries/DateTime.html#Custom%20timestamp
... ... @@ -23,8 +23,8 @@ from .local_time import get_now, TZ
23 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 30 def get_file_contents(path):
... ...
Please register or login to post a comment