diff --git a/amcrest2mqtt.py b/amcrest2mqtt.py index 0f1b78c..087beb9 100644 --- a/amcrest2mqtt.py +++ b/amcrest2mqtt.py @@ -20,7 +20,7 @@ devices = {} # Helper functions and callbacks def log(msg, level="INFO"): - ts = datetime.now(timezone.utc).strftime("%d/%m/%Y %H:%M:%S") + ts = datetime.now(timezone.utc).strftime("%Y-%m-%d %H:%M:%S") if level != "DEBUG" or ('debug' in config and config['debug']): print(f"{ts} [{level}] {msg}")