From da76f9420b449b8f13a04285346635c63b5c4d93 Mon Sep 17 00:00:00 2001 From: "Max P." Date: Wed, 30 Apr 2025 15:24:10 +0200 Subject: [PATCH] fix(voice_to_text_tray): update journal timestamp format to include seconds Signed-off-by: Max P. --- src/pyvtt/voice_to_text_tray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyvtt/voice_to_text_tray.py b/src/pyvtt/voice_to_text_tray.py index c86a042..e38f4aa 100755 --- a/src/pyvtt/voice_to_text_tray.py +++ b/src/pyvtt/voice_to_text_tray.py @@ -99,7 +99,7 @@ class WhisperWorker(QThread): if CURRENT_PRESET["mode"] == "journal": today = datetime.date.today().strftime("%Y.%m.%d") journal_path = os.path.join(CONFIGURATION["journal_path"], f"{today} - {CURRENT_PRESET['journal_name']}.md") - now = datetime.datetime.now().strftime("%H:%M") + now = datetime.datetime.now().strftime("%H:%M:%S") if not os.path.exists(journal_path): try: with open(journal_path, "w") as f: