Skip to content

Add support for $dateAdd and $dateDiff aggregation operators #3713

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

Closed
christophstrobl opened this issue Jul 14, 2021 · 0 comments
Closed

Add support for $dateAdd and $dateDiff aggregation operators #3713

christophstrobl opened this issue Jul 14, 2021 · 0 comments
Labels
in: aggregation-framework Aggregation framework support theme: MongoDB 5.0 type: enhancement A general enhancement

Comments

@christophstrobl
Copy link
Member

Available since MongoDB 5.0

@christophstrobl christophstrobl added type: enhancement A general enhancement in: aggregation-framework Aggregation framework support theme: MongoDB 5.0 labels Jul 14, 2021
@mp911de mp911de changed the title Add support for $dateAdd & $dateDiff aggregation operators. Add support for $dateAdd and $dateDiff aggregation operators Aug 25, 2021
mp911de pushed a commit that referenced this issue Aug 25, 2021
mp911de pushed a commit that referenced this issue Aug 25, 2021
mp911de added a commit that referenced this issue Aug 25, 2021
Introduce factory methods to convert TimeZone/ZoneId/ZoneOffset into Mongo Timezone. Introduce TemporalUnit abstraction and converters to convert ChronoUnit and TimeUnit into TemporalUnit for date operators accepting a unit parameter.

See #3713
Original pull request: #3748.
@mp911de mp911de added this to the 3.3 M3 (2021.1.0) milestone Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: aggregation-framework Aggregation framework support theme: MongoDB 5.0 type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants