Open tomswinkels opened 5 years ago
True, will fix it a bit later.
same here, what can i do
The timestamp in this format (like "2020-10-17 08:18:37") is coming from multimon-ng, so I keep it the same.
You can convert the string to any other format you like with a simple code as: d_str = datetime.strptime(self.timestamp, "%Y-%m-%d %H:%M:%S").strftime("%Y-%m-%dT%H:%M:%S") (it's just an idea, maybe there is more compact way to do this)
https://github.com/dmitryelj/RPi-P2000Receiver/blob/977561690bb51f6c9e28790586eccf06eccb7d60/p2000.py#L77