[SERVER-53388] Week start parameter for $dateDiff aggregation expression Created: 16/Dec/20 Updated: 29/Oct/23 Resolved: 11/Feb/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mindaugas Malinauskas | Assignee: | Mindaugas Malinauskas |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||||||||||
| Sprint: | Query 2021-01-25, Query Execution 2021-02-22 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
Add startOfWeek parameter to $dateDiff. The startOfWeek parameter denotes the starting position to use when the unit in $dateDiff is equal to "week". The accepted value can be a case-insensitive string which resolves to any of the following options: (Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday). By default "Sunday" is considered the start of the week. |
| Comments |
| Comment by Githook User [ 11/Feb/21 ] |
|
Author: {'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com'}Message: |