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 229673a commit 1977cd5Copy full SHA for 1977cd5
source/tutorials/mongoid-documents.txt
@@ -333,7 +333,7 @@ Mongoid allows assignment of values of several types to ``Date`` fields:
333
- ``Time``, ``DateTime``, ``ActiveSupport::TimeWithZone`` - the date component
334
of the value is taken in the value's time zone.
335
- ``String`` - the date specified in the string is used.
336
-- ``Integer``, ''Float`` - the value is taken to be a UTC timestamp which is
+- ``Integer``, ``Float`` - the value is taken to be a UTC timestamp which is
337
converted to the :ref:`configured time zone <time-zones>` (note that
338
``Mongoid.use_utc`` has no effect on this conversion), then the date is
339
taken from the resulting time.
0 commit comments