explicit timezone information
This commit is contained in:
		| @@ -117,8 +117,8 @@ class WsjtParser(object): | ||||
|                 return | ||||
|  | ||||
|             out = {} | ||||
|             time = datetime.strptime(msg[0:6], "%H%M%S") | ||||
|             out["timestamp"] = datetime.combine(date.today(), time.time()).timestamp() | ||||
|             ts = datetime.strptime(msg[0:6], "%H%M%S") | ||||
|             out["timestamp"] = datetime.combine(date.today(), ts.time(), datetime.now().tzinfo).timestamp() | ||||
|             out["db"] = float(msg[7:10]) | ||||
|             out["dt"] = float(msg[11:15]) | ||||
|             out["freq"] = int(msg[16:20]) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jakob Ketterl
					Jakob Ketterl