def test_dates_query(self):
        RevisionableModel.objects.create(
            title='First Revision',
            when=datetime.datetime(2008, 9, 28, 10, 30, 0)
        )

        self.assertQuerysetEqual(
            RevisionableModel.objects.extra(select={"the_answer": 'id'}).datetimes('when', 'month'),
            [datetime.datetime(2008, 9, 1, 0, 0)],
            transform=lambda d: d,
        )
Return the Structure representation of the given *array_type*
dataset/ETHPy150Open django/django/tests/extra_regress/tests.py/ExtraRegressTests.test_dates_query--crossover with--dataset/ETHPy150Open numba/numba/numba/targets/arrayobj.py/make_array