Issue on getting time seconds in a script

Asked by DamienB on 2021-03-23

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 ?

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
DamienB
Solved:
2021-03-23
Last query:
2021-03-23
Last reply:
DamienB (damien1792) said : #1

Sorry my mistake...minutes were incorrect!