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

Check codec_options for DatetimeMS.as_datetime

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.3
    • Affects Version/s: None
    • Component/s: None
    • None

      DatetimeMS.as_datetime doesn't currently test if the datetime_conversion option in CodecOptions is one of DATETIME or DATETIME_CLAMP, which means that as_datetime could return a DatetimeMS object instead of a desired datetime.datetime object.

            Assignee:
            Unassigned Unassigned
            Reporter:
            ben.warner@mongodb.com Ben Warner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: