Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-536

UTCDateTime constructor should default to current time and accept DateTimeInterface

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2.0-alpha1, 1.2.0
    • Affects Version/s: 1.1.2
    • Component/s: None
    • None

      This seems like an obvious usability improvement, unless there is a specific reason that we did not implement this behavior in the 1.0.0 API.

      Note: for PHP 5.4, DateTimeInterface does not exist so we'll need to accept a DateTime.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: