We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a6ea77 commit f8a8ca2Copy full SHA for f8a8ca2
docs/en/reference/basic-mapping.rst
@@ -459,7 +459,7 @@ Date Fields
459
MongoDB has a specific database type to store date and time values. You should never
460
use a string to store a date. To define a date field, use the property types
461
``DateTime`` or ``DateTimeImmutable`` so that Doctrine maps it to a BSON date.
462
-The ``date`` and ``date_immutable`` mapping types can be used explicitly,
+The ``date`` and ``date_immutable`` mapping types can be used explicitly;
463
they are required only if the property type is ``DateTimeInterface`` or not set.
464
465
.. configuration-block::
0 commit comments