mirror of
https://github.com/marty-oehme/scripts.git
synced 2024-12-22 07:58:08 +00:00
changed documentation and indention
This commit is contained in:
parent
ff0b0bde1d
commit
75e6d2d05b
1 changed files with 7 additions and 7 deletions
|
@ -58,7 +58,7 @@ QtObject {
|
||||||
var m = new Date();
|
var m = new Date();
|
||||||
var headline = "Journal " + 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);
|
||||||
|
|
||||||
// when the configuration option "singleJournalPerDay" is selected create journal entries including time
|
// when the configuration option "singleJournalPerDay" is not selected create journal entries including time
|
||||||
if (!singleJournalPerDay) {
|
if (!singleJournalPerDay) {
|
||||||
headline = headline + "T"+ ("0" + m.getHours()).slice(-2) + ("0" + m.getMinutes()).slice(-2) + ("0" + m.getSeconds()).slice(-2)
|
headline = headline + "T"+ ("0" + m.getHours()).slice(-2) + ("0" + m.getMinutes()).slice(-2) + ("0" + m.getSeconds()).slice(-2)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue