From dbf7fa89a27d9a6a721eceb056209d9ec7b22dec Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Tue, 8 Sep 2020 20:21:44 +0300 Subject: Shearwater cloud import: adjust to milliseconds Seems that Shearwater cloud gives the sample time in milliseconds nowadays. Taking a wild guess, that this logic should suffice for us to be able to import old and newer XML logs. (Assuming that if the timestamp for the first sample is more than 100, timestamps are in milliseconds, otherwise in seconds.) Signed-off-by: Miika Turkia --- xslt/shearwater.xslt | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/xslt/shearwater.xslt b/xslt/shearwater.xslt index d29d7b02a..6093acb59 100644 --- a/xslt/shearwater.xslt +++ b/xslt/shearwater.xslt @@ -60,6 +60,17 @@ + + + + + + + + + + + @@ -122,7 +133,7 @@ - + @@ -141,7 +152,7 @@ - + -- cgit v1.2.3-70-g09d2