[SERVER-1703] Date.round(Minute|Hour|Day|Week|Month|Year) Week Number for Aggregation Created: 30/Aug/10 Updated: 03/Feb/16 Resolved: 05/Nov/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Michael | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
Not sure how you guys would implement this exactly.. but the Date class lacks a Week Number method. This would be very useful in when using map reduce to aggregate data over time. |
| Comments |
| Comment by Charlie Swanson [ 05/Nov/15 ] |
|
I'm closing this ticket, as I believe the $week aggregation expression does what you want. Please feel free to re-open and clarify the differences if that is not what you are requesting. |