-
Type:
New Feature
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: django
-
None
-
None
-
Python Drivers
-
Not Needed
-
None
-
None
-
None
-
None
-
None
-
None
MongoDB doesn't have an operator to extract the quarter from a datetime but it can be emulated with:
{"$ceil": {"$divide": [{"$month": {"date": lhs_mql, "timezone": timezone}}, 3]}}