We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b71caa commit 1dc2e1cCopy full SHA for 1dc2e1c
tests/model_fields_/test_arrayfield.py
@@ -100,9 +100,9 @@ def test_char(self):
100
101
def test_dates(self):
102
instance = DateTimeArrayModel(
103
- datetimes=[timezone.now()],
+ datetimes=[timezone.now().replace(microsecond=0)],
104
dates=[timezone.now().date()],
105
- times=[timezone.now().time()],
+ times=[timezone.now().time().replace(microsecond=0)],
106
)
107
instance.save()
108
loaded = DateTimeArrayModel.objects.get()
0 commit comments