From 2c0cffe16ad8b0b3de7da782315f4b0980d9c085 Mon Sep 17 00:00:00 2001 From: "Max P." Date: Sun, 18 May 2025 20:41:14 +0200 Subject: [PATCH] fix(worker): adjust timestamp format in journal entries - Updates the timestamp format from HH:MM:SS to HH:MM for journal logs - Simplifies the time representation in generated journal paths --- 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 ccc6bb1..481532b 100755 --- a/src/pyvtt/voice_to_text_tray.py +++ b/src/pyvtt/voice_to_text_tray.py @@ -50,7 +50,7 @@ class WhisperWorker(QThread): if CURRENT_PRESET_LOCALE.mode == "journal": today = datetime.date.today().strftime("%Y.%m.%d") journal_path = os.path.join(CURENT_CONFIG_LOCALE.journal_path, f"{today} - {CURRENT_PRESET_LOCALE.journal_name}.md") - now = datetime.datetime.now().strftime("%H:%M:%S") + now = datetime.datetime.now().strftime("%H:%M") if not os.path.exists(journal_path): try: with open(journal_path, "w") as f: