-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(query): add custom date pattern support for time range queries (#…
…1151) * feat(query): add custom date pattern support for time range queries - Add datePattern() function to Condition class - Update timeRange() function in AbstractConditionConverter to support custom date patterns - Add DATE_PATTERN_OPTION_KEY constant to Condition class * refactor(wow-query): support custom date pattern in condition - Add datePattern function to Condition class - Implement datePattern handling in various time-related functions - Add toDate function to handle different date patterns - Update timeRange function to support custom date patterns * feat(query): add date pattern support for temporal conditions - Add datePatternOptions utility function to handle date pattern options - Update today, beforeToday, tomorrow, thisWeek, nextWeek, lastWeek, thisMonth, lastMonth, and recentDays functions to support date patterns - Modify ConditionDsl to include datePattern parameter in relevant temporal conditions - Remove unnecessary trailing minus sign in AbstractConditionConverter * fix(wow-query): update today condition to support custom date time formatter - Modify ConditionDslTest to use custom date time formatter in today condition - Update MongoConverterTest to handle new date time formatter parameter - Add test cases for beforeToday and tomorrow with custom date time formatter
- Loading branch information
Showing
5 changed files
with
173 additions
and
66 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
Oops, something went wrong.