Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-3647

Generation time from ObjectId doesn't always match created_at

    • Type: Icon: Task Task
    • Resolution: Done
    • 4.0.0 final
    • Affects Version/s: None
    • Component/s: None
    • None

      I have a test in my app that is randomly failing and I realized that this is happening because in some cases, the generation time that I pull from the ObjectId doesn't match the created_at that's added to the object by the timestamp module. It's off by one second.

      Should I not expect these to always match? Or is this a bug?

            Assignee:
            Unassigned Unassigned
            Reporter:
            blim8183 blim8183
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: