'Testing dates are converted properly, even on SpatiaLite. See #16408.'

def test_unicode_date(self):

    founded = datetime(1857, 5, 23)
    mansfield = PennsylvaniaCity.objects.create(name=u'Mansfield', county=u'Tioga', point=u'POINT(-77.071445    41.823881)', founded=founded)
    self.assertEqual(founded, PennsylvaniaCity.objects.dates(u'founded', u'day')[0])
    self.assertEqual(founded, PennsylvaniaCity.objects.aggregate(Min(u'founded'))[u'founded__min'])
