Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-363

Transformations to BSON Date Only Work for DateTime Objects and Not Date Objects.

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.2
    • Component/s: None

      Not sure if this is a design decision but when saving a document to Mongo with a Date object causes an encoding error. However, saving it as a DateTime object works. What's the reason for the inconsistency? Thanks!

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            joewoo Joseph Woo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: