You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "This script creates menu items and buttons to create or jump to the current date's (or tomorrow's date) journal entry. And formats the title based on a date placeholder. It also allows to open a calendar to choose the date."
"description":"How the journal title should be formatted, use date format placeholders inside curly braces. YYYY: year, MM: month, DD: day, WW: week, HH: hours, mm: minutes, ss: seconds. For example \"Journal {YYYYMMDD}\" will return \"Journal 20240928\". You can have monthly or weekly journals instead of daily by formatting the date to the week or monthly level, or one journal file per entry by including the hour, minutes and seconds.",
36
+
"description":"How the journal title should be formatted, use date format placeholders inside curly braces. YYYY: year, MM: month, DD: day, WW: week, HH: hours, mm: minutes, ss: seconds, ddd: short day of the week e.g. 'Mon'. For example \"Journal {YYYYMMDD}\" will return \"Journal 20240928\". You can have monthly or weekly journals instead of daily by formatting the date to the week or monthly level, or one journal file per entry by including the hour, minutes and seconds.",
35
37
"type":"string",
36
38
"default":"Journal {YYYYMMDD}"
37
39
},
@@ -137,6 +139,7 @@ QtObject {
137
139
}
138
140
functionformatDate(date, format) {
139
141
let day =date.getDate();
142
+
let dayOfWeek =_SHORT_DAYS_EN[date.getDay()];
140
143
let month =date.getMonth() +1; //getMonth() returns 0-11 so we must add 1
Copy file name to clipboardExpand all lines: quick-commands/info.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
"script": "quick-commands.qml",
5
5
"authors": ["@LockeBirdsey"],
6
6
"platforms": ["linux", "macos", "windows"],
7
-
"version": "0.0.1",
7
+
"version": "0.1.0",
8
8
"minAppVersion": "25.4.1",
9
9
"description": "Short commands to help with repetive and/or annoying things to write frequently such as timestamps.\n\nEach command starts with a backslash (\\) and a single word for the command. Select the autocomplete option you desire and the command text will be replace.\n\nDefault commands are: today, tomorrow, yesterday, now, week.\n\nCustom commands can also be specified but are limited to simple text replacement."
0 commit comments