From 88f466cba897a6c2616af967561a36d18377f851 Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle Date: Tue, 16 May 2017 19:56:19 +0200 Subject: [PATCH] changed journal file name --- journal-entry/info.json | 2 +- journal-entry/journal-entry.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/journal-entry/info.json b/journal-entry/info.json index f84ed73..5e818ee 100644 --- a/journal-entry/info.json +++ b/journal-entry/info.json @@ -2,6 +2,6 @@ "name": "Journal entry", "identifier": "journal-entry", "script": "journal-entry.qml", - "version": "0.1", + "version": "0.0.2", "description" : "This script creates a menu item and a button to create or jump to the current date's journal entry." } diff --git a/journal-entry/journal-entry.qml b/journal-entry/journal-entry.qml index ef089b6..d84e383 100644 --- a/journal-entry/journal-entry.qml +++ b/journal-entry/journal-entry.qml @@ -25,7 +25,7 @@ QtObject { // get the date headline var m = new Date(); - var headline = m.getFullYear() + ("0" + (m.getMonth()+1)).slice(-2) + ("0" + m.getDate()).slice(-2); + var headline = "Journal " + m.getFullYear() + ("0" + (m.getMonth()+1)).slice(-2) + ("0" + m.getDate()).slice(-2); var fileName = headline + ".md"; var note = script.fetchNoteByFileName(fileName);