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

UTCDateTime constructor should default to current time and accept DateTimeInterface

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.1.2
    • Fix Version/s: 1.2.0-alpha1, 1.2.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: