fix(voice_to_text_tray): update journal timestamp format to include seconds
Signed-off-by: Max P. <Mail@MPassarello.de>
This commit is contained in:
@@ -99,7 +99,7 @@ class WhisperWorker(QThread):
|
|||||||
if CURRENT_PRESET["mode"] == "journal":
|
if CURRENT_PRESET["mode"] == "journal":
|
||||||
today = datetime.date.today().strftime("%Y.%m.%d")
|
today = datetime.date.today().strftime("%Y.%m.%d")
|
||||||
journal_path = os.path.join(CONFIGURATION["journal_path"], f"{today} - {CURRENT_PRESET['journal_name']}.md")
|
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):
|
if not os.path.exists(journal_path):
|
||||||
try:
|
try:
|
||||||
with open(journal_path, "w") as f:
|
with open(journal_path, "w") as f:
|
||||||
|
Reference in New Issue
Block a user