diff --git a/src/app/features/tasks/short-syntax.util.ts b/src/app/features/tasks/short-syntax.util.ts index 634a67ca791..1c47f652a67 100644 --- a/src/app/features/tasks/short-syntax.util.ts +++ b/src/app/features/tasks/short-syntax.util.ts @@ -18,7 +18,7 @@ const customDateParser = chrono.casual.clone(); customDateParser.parsers.push( { // match tomorrow - pattern: () => /^tom| tom/i, + pattern: () => /^tom| @tom/i, extract: () => { const today = new Date(); return { @@ -28,7 +28,7 @@ customDateParser.parsers.push( }, { // match today - pattern: () => /^tod| tod/i, + pattern: () => /^tod| @tod/i, extract: () => { const today = new Date(); return {