Kibanna time in Jerusalem timezone 59/5259/1
authorHanoh Haim <[email protected]>
Mon, 16 Jan 2017 17:45:45 +0000 (19:45 +0200)
committerHanoh Haim <[email protected]>
Mon, 16 Jan 2017 17:45:45 +0000 (19:45 +0200)
Signed-off-by: Hanoh Haim <[email protected]>
scripts/automation/regression/trex.py
scripts/automation/regression/trex_unit_test.py

index f9a3fbf..4f5eba6 100644 (file)
@@ -49,7 +49,7 @@ def copy_elk_info ():
    assert(CTRexScenario.elk_info)
    d = copy.deepcopy(CTRexScenario.elk_info);
 
-   timestamp = datetime.datetime.now(); # need to update this
+   timestamp = datetime.datetime.now() - datetime.timedelta(hours=2); # Jerusalem timeZone, Kibana does not have feature to change timezone 
    d['timestamp']=timestamp.strftime("%Y-%m-%d %H:%M:%S")
    return(d)
 
index 99790fe..39984c7 100755 (executable)
@@ -413,7 +413,7 @@ class CTRexTestConfiguringPlugin(Plugin):
 
     def set_cont_elk_info (self):
         elk_info={}
-        timestamp = datetime.datetime.now(); # need to update this
+        timestamp = datetime.datetime.now() - datetime.timedelta(hours=2); # need to update this
         info = {};