generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1665 from ilandikov/refactor-and-approval-datefield
refactor: DateField, HappensDateField and approval tests on DueDateField
- Loading branch information
Showing
6 changed files
with
200 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
tests/Query/Filter/DueDateField.test.due_date approval tests.approved.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
| date / keyword | last week | this week | next week | 2023-02-09 | 2023-02-07 2023-02-11 | | ||
| ----- | ----- | ----- | ----- | ----- | ----- | | ||
| before | due before last week =><br> due date is before 2023-02-03 (Friday 3rd February 2023)<br> | due before this week =><br> due date is before 2023-02-05 (Sunday 5th February 2023)<br> | due before next week =><br> due date is before 2023-02-17 (Friday 17th February 2023)<br> | due before 2023-02-09 =><br> due date is before 2023-02-09 (Thursday 9th February 2023)<br> | due before 2023-02-07 2023-02-11 =><br> due date is before 2023-02-07 (Tuesday 7th February 2023)<br> | | ||
| on | due on last week =><br> due date is on 2023-02-03 (Friday 3rd February 2023)<br> | due on this week =><br> due date is on 2023-02-05 (Sunday 5th February 2023)<br> | due on next week =><br> due date is on 2023-02-17 (Friday 17th February 2023)<br> | due on 2023-02-09 =><br> due date is on 2023-02-09 (Thursday 9th February 2023)<br> | due on 2023-02-07 2023-02-11 =><br> due date is on 2023-02-07 (Tuesday 7th February 2023)<br> | | ||
| after | due after last week =><br> due date is after 2023-02-03 (Friday 3rd February 2023)<br> | due after this week =><br> due date is after 2023-02-05 (Sunday 5th February 2023)<br> | due after next week =><br> due date is after 2023-02-17 (Friday 17th February 2023)<br> | due after 2023-02-09 =><br> due date is after 2023-02-09 (Thursday 9th February 2023)<br> | due after 2023-02-07 2023-02-11 =><br> due date is after 2023-02-07 (Tuesday 7th February 2023)<br> | | ||
| in | due in last week =><br> due date is on 2023-02-03 (Friday 3rd February 2023)<br> | due in this week =><br> due date is on 2023-02-05 (Sunday 5th February 2023)<br> | due in next week =><br> due date is on 2023-02-17 (Friday 17th February 2023)<br> | due in 2023-02-09 =><br> due date is on 2023-02-09 (Thursday 9th February 2023)<br> | due in 2023-02-07 2023-02-11 =><br> due date is on 2023-02-07 (Tuesday 7th February 2023)<br> | | ||
| | due last week =><br> due date is on 2023-02-03 (Friday 3rd February 2023)<br> | due this week =><br> due date is on 2023-02-05 (Sunday 5th February 2023)<br> | due next week =><br> due date is on 2023-02-17 (Friday 17th February 2023)<br> | due 2023-02-09 =><br> due date is on 2023-02-09 (Thursday 9th February 2023)<br> | due 2023-02-07 2023-02-11 =><br> due date is on 2023-02-07 (Tuesday 7th February 2023)<br> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.