diff --git a/journal.py b/journal.py index 4291714..d46a5ca 100755 --- a/journal.py +++ b/journal.py @@ -52,7 +52,7 @@ message_text.pack() def send_button_clicked(): with open(journal_filename_path, "a") as journal_of_the_day: - journal_of_the_day.write(name.get() + "\n") + journal_of_the_day.write("Eintrag von: " + name.get() + " um " + datetime.now().strftime("%Y-%m-%d %H:%M:%S") + "\n") journal_of_the_day.write(message_text.get(1.0, "end-1c") + "\n") journal_of_the_day.write("-----------------\n") message_text.delete('1.0', "end-1c")