Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add searches on date ranges #1734

Merged

Conversation

ilandikov
Copy link
Collaborator

Description

Motivation and Context

Fixes #1613, enables searches on last|this|next week|month|quarter|year relative to the current date, ie the search for today and in a week will produce different results

Also introduces searches between two dates in YYYY-MM-DD format, for example due on 2023-02-25 2023-03-25

Done by pair programming with @claremacrae

Initial PR #1731

How has this been tested?

Tests for new functions have been added

Screenshots (if appropriate)

Types of changes

Changes visible to users:

  • Bug fix (prefix: fix - non-breaking change which fixes an issue)
  • New feature (prefix: feat - non-breaking change which adds functionality)
  • Breaking change (prefix: feat!! or fix!! - fix or feature that would cause existing functionality to not work as expected)
  • Documentation (prefix: docs - improvements to any documentation content)
  • Sample vault (prefix: vault - improvements to the Tasks-Demo sample vault)

Internal changes:

  • Refactor (prefix: refactor - non-breaking change which only improves the design or structure of existing code, and making no changes to its external behaviour)
  • Tests (prefix: test - additions and improvements to unit tests and the smoke tests)
  • Infrastructure (prefix: chore - examples include GitHub Actions, issue templates)

Checklist

Terms

@ilandikov ilandikov changed the title fix: searches on date ranges feat: searches on date ranges Mar 7, 2023
@ilandikov ilandikov mentioned this pull request Mar 7, 2023
14 tasks
@claremacrae claremacrae added the scope: filters Additions and modifications to the search filters label Mar 7, 2023
Copy link
Collaborator

@claremacrae claremacrae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super - thanks!

@claremacrae claremacrae changed the title feat: searches on date ranges feat: Add searches on date ranges Mar 9, 2023
@claremacrae claremacrae merged commit badf4c8 into obsidian-tasks-group:main Mar 9, 2023
@ilandikov ilandikov mentioned this pull request Mar 11, 2023
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: filters Additions and modifications to the search filters
Projects
Status: 🎉 Released
2 participants