-
Notifications
You must be signed in to change notification settings - Fork 27
1372 datetime comparison #1406
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
Merged
Merged
1372 datetime comparison #1406
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
d8614fe
1372-add-'auto'-precision-to-compare-datetimes-at=common-granularity
RakeshBobba03 17c311c
Add auto precision detection to date comparison operators via date_co…
RakeshBobba03 419dd77
minor cleanup
RakeshBobba03 260a305
Optimization
RakeshBobba03 2940244
Unit Test Fix\Update
RakeshBobba03 3f5c005
Merge branch 'main' into 1372-Datetime-Comparison
RamilCDISC a878ad3
Merge branch 'main' into 1372-Datetime-Comparison
RamilCDISC 5b327ca
Merge branch 'main' into 1372-Datetime-Comparison
RamilCDISC 3988fd7
Merge branch 'main' into 1372-Datetime-Comparison
RakeshBobba03 ea629ec
Merge remote-tracking branch 'refs/remotes/origin/1372-Datetime-Compa…
RakeshBobba03 61dad95
restore comments
RakeshBobba03 a3d7a1b
restore test_invalid_date format, move precision constants to top, ad…
RakeshBobba03 ec37d74
Merge branch 'main' into 1372-Datetime-Comparison
RakeshBobba03 36e171c
Merge branch 'main' into 1372-Datetime-Comparison
gerrycampion 3400229
Merge branch 'main' into 1372-Datetime-Comparison
RakeshBobba03 bf5a1c6
Merge branch '1372-Datetime-Comparison' of https://github.com/cdisc-o…
RakeshBobba03 ada41a2
Restructure auto precision tests into individual cases, remove duplic…
RakeshBobba03 c6d8b2b
Merge branch 'main' into 1372-Datetime-Comparison
RakeshBobba03 1bc5505
Implement auto precision datetime comparisons
RakeshBobba03 0a85dbf
Merge branch 'main' into 1372-Datetime-Comparison
RakeshBobba03 19f9465
Merge branch 'main' into 1372-Datetime-Comparison
RakeshBobba03 56c5d13
Merge branch 'main' into 1372-Datetime-Comparison
RakeshBobba03 e8a54ff
Refactor date precision handling: use DatePrecision enum, simplify pa…
RakeshBobba03 33148a9
Merge branch 'main' into 1372-Datetime-Comparison
RakeshBobba03 3b258a2
Cleanup on refactor
RakeshBobba03 d9e80bf
Remove unused date precision helper functions and DatePrecision metho…
RakeshBobba03 c99e9a2
more cleanup
RakeshBobba03 ce24224
missed update from operator.md
RakeshBobba03 0c746f8
Refactored to remove redundant code and use enums
gerrycampion 5c865cc
Merge branch 'main' into 1372-Datetime-Comparison
RakeshBobba03 b1ff922
Merge branch '1372-Datetime-Comparison' of https://github.com/cdisc-o…
RakeshBobba03 83aa3cf
combine redundant/duplicate functions into one and use enum iteration
RakeshBobba03 e628106
redundant check removed
RakeshBobba03 9487126
Merge branch 'main' into 1372-Datetime-Comparison
RakeshBobba03 d15257a
remove has_time logic
gerrycampion 4eeb473
fixed overwriting var in scope
gerrycampion 62fde67
Merge branch 'main' into 1372-Datetime-Comparison
gerrycampion File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -545,7 +545,8 @@ | |
| "hour", | ||
| "minute", | ||
| "second", | ||
| "microsecond" | ||
| "microsecond", | ||
| "auto" | ||
| ], | ||
| "type": "string" | ||
| }, | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in all instances where you are using strings for the date components ("year", "minute", etc), you should be using the DatePrecision enum instead