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

Change default datetime_conversion to DATETIME_AUTO

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • 5.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Minor Change

      In PyMongo 5.0 we should change default datetime_conversion to DATETIME_AUTO (added in PYTHON-1824 in PyMongo 4.3).

      Instead of receiving OverflowError or ValueError when decoding an out-of-range datetime, the user will get a DatetimeMS object.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: