Skip to content
Snippets Groups Projects
Commit 73adb91a authored by Samuel GARNIER's avatar Samuel GARNIER
Browse files

Add seconds on timestamps

parent a9b4699b
No related branches found
No related tags found
No related merge requests found
......@@ -443,7 +443,7 @@ class DG_PY_FOFBTool(Device):
T = threading.Thread(target=target,)
self._last_start = datetime.datetime.now().strftime("%y/%m/%d %H:%M")
self._last_start = datetime.datetime.now().strftime("%y/%m/%d %H:%M:%S")
self.set_state(tango.DevState.RUNNING)
T.start()
......@@ -480,7 +480,7 @@ class DG_PY_FOFBTool(Device):
self.lock.release()
T = threading.Thread(target=target,)
self._last_sync = datetime.datetime.now().strftime("%y/%m/%d %H:%M")
self._last_sync = datetime.datetime.now().strftime("%y/%m/%d %H:%M:%S")
self.set_state(tango.DevState.RUNNING)
T.start()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment