mirror of
https://github.com/marty-oehme/scripts.git
synced 2025-12-10 05:52:46 +00:00
changed journal file name
This commit is contained in:
parent
e8adb04a48
commit
88f466cba8
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue