Any suggestions for how to group in an aggregation stage documents with a date field by week ending on Sunday?
For example, today is 2022-04-29, and the next week ending Sunday is 5/1; therefore, week ending Sunday 2022-05-01 represents the dates 2022-04-25 to 2022-05-01.