group by task.start or if task.start does not exist by task.file.filenameWithoutExtension #2716
-
@matr095 helped me make the next group by, but that doesn't do anything var newdate = []; \
if (task.start == '') { \
newdate.push(new Date(task.file.filenameWithoutExtension)); \
} \
else if (task.file.filenameWithoutExtension == '') { \
newdate.push(new Date(task.start)); \
} \
return newdate.toString(); |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
That's very unlikely - it must do something, even if it writes out an error message. Here are some things that you can try:
I don't know what |
Beta Was this translation helpful? Give feedback.
-
Looking at the parts of the description of this question, I would write it as: group by function \
if (task.start.formatAsDate() !== '') return task.start.formatAsDate(); \
return task.file.filenameWithoutExtension; |
Beta Was this translation helpful? Give feedback.
Looking at the parts of the description of this question, I would write it as: