You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some timestamp fields (ManualRecord::Edition#originally_published_at & SectionEdition#exported_at) are of type DateTime; whereas timestamp fields defined via Mongoid::Timestamps are of type Time. In my experience, it's better to use Time in Ruby unless you are dealing with different types of calendar, e.g. Gregorian, Julian, etc. If nothing else we should make all timestamp fields have the same type.
The text was updated successfully, but these errors were encountered:
Some timestamp fields (
ManualRecord::Edition#originally_published_at
&SectionEdition#exported_at
) are of typeDateTime
; whereas timestamp fields defined viaMongoid::Timestamps
are of typeTime
. In my experience, it's better to useTime
in Ruby unless you are dealing with different types of calendar, e.g. Gregorian, Julian, etc. If nothing else we should make all timestamp fields have the same type.The text was updated successfully, but these errors were encountered: