Skip to content

Commit

Permalink
Remove log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
larslockefeer committed Jan 6, 2022
1 parent 0a35ca6 commit 3c89cac
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions util/DailyNoteParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ import path from 'path';
export const extractDueDateFromDailyNotesFile = (filePath: string): DateTime | undefined => {
const dailyNotesSettings = getDailyNoteSettings();
if (dailyNotesSettings.folder && path.dirname(filePath) == dailyNotesSettings.folder) {
console.log(`Found a daily note ${filePath}`);
const dueDate = getDateFromPath(filePath, 'day');
console.log(dueDate);
console.log(DateTime.fromISO(dueDate.toISOString()));
return DateTime.fromISO(dueDate.toISOString());
}
return undefined;
Expand Down

0 comments on commit 3c89cac

Please sign in to comment.