I have some use cases as the following
messages received for the past month
messages received last week
With potential ambiguity, I'm expecting the first one to return a list of two dates: today - 30d and today. Similarly for the second one, i'm expecting last Sunday to last Monday
Both should probably be configurable for the convenience. Like default_start_of_week and default_days_in_month