From 616ab8362beea2d78753ad85d80e1a7c345a6e75 Mon Sep 17 00:00:00 2001 From: Zack Moratto Date: Sat, 9 Jul 2011 01:40:07 -0700 Subject: [PATCH] Have the SBS record milliseconds --- src/python/modes_sbs1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/modes_sbs1.py b/src/python/modes_sbs1.py index d5e9112..27d2428 100644 --- a/src/python/modes_sbs1.py +++ b/src/python/modes_sbs1.py @@ -79,7 +79,7 @@ class modes_output_sbs1(modes_parse.modes_parse): def current_time(self): 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): if fs == 0: