← Back to team overview

sikuli-driver team mailing list archive

[Question #696216]: Issue on getting time seconds in a script

 

New question #696216 on SikuliX:
https://answers.launchpad.net/sikuli/+question/696216

Hello, 

I am getting a strange behavior while getting time seconds in Message execution log of a sikuli script : the first log time is after the second

Start TC at 2021/03/23 15:03:52
(some actions)
TC;OK;2021/03/23 15:03:27

while the script content is: 
print "Start TC at " + time.strftime("%Y/%m/%d %H:%m:%S")
(some actions)
print "TC;OK;" + time.strftime("%Y/%m/%d %H:%m:%S")

Can anyone explain me this behavior and/or how to ensure my script gives the correct seconds or is this a bug ?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.