Skip to content

Commit 74e1523

Browse files
committed
refactor: . Move DateAbbreviations to lib/ in src/ and tests/
1 parent 5ab88f4 commit 74e1523

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

src/Suggestor/Suggestor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Settings } from '../Config/Settings';
22
import { DateParser } from '../Query/DateParser';
3-
import { doAutocomplete } from '../DateAbbreviations';
3+
import { doAutocomplete } from '../lib/DateAbbreviations';
44
import { Recurrence } from '../Task/Recurrence';
55
import type { DefaultTaskSerializerSymbols } from '../TaskSerializer/DefaultTaskSerializer';
66
import { Task, TaskRegularExpressions } from '../Task/Task';
File renamed without changes.

src/ui/EditTask.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import { GlobalFilter } from '../Config/GlobalFilter';
77
import { Status } from '../Statuses/Status';
88
import { Priority, Task } from '../Task/Task';
9-
import { doAutocomplete } from '../DateAbbreviations';
9+
import { doAutocomplete } from '../lib/DateAbbreviations';
1010
import { TasksDate } from '../Scripting/TasksDate';
1111
import { computePosition, flip, offset, shift, size } from "@floating-ui/dom";
1212
import { addDependencyToParent, ensureTaskHasId, generateUniqueId, removeDependency } from "../Task/TaskDependency";

tests/DateAbbreviations.test.ts renamed to tests/lib/DateAbbreviations.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { doAutocomplete } from '../src/DateAbbreviations';
1+
import { doAutocomplete } from '../../src/lib/DateAbbreviations';
22

33
describe('DateAbbreviations', () => {
44
it('should expand abbreviations', () => {

0 commit comments

Comments
 (0)