Have the SBS record milliseconds

This commit is contained in:
Zack Moratto 2011-07-09 01:40:07 -07:00
parent f31e9e062f
commit 616ab8362b

View File

@ -79,7 +79,7 @@ class modes_output_sbs1(modes_parse.modes_parse):
def current_time(self): def current_time(self):
timenow = datetime.now() timenow = datetime.now()
return [timenow.strftime("%Y/%m/%d"), timenow.strftime("%H:%M:%S.000")] return [timenow.strftime("%Y/%m/%d"), timenow.strftime("%H:%M:%S.%f")[0:-3]]
def decode_fs(self, fs): def decode_fs(self, fs):
if fs == 0: if fs == 0: