UTCDateTime constructor should default to current time and accept DateTimeInterface

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 1.2.0-alpha1, 1.2.0
    • Affects Version/s: 1.1.2
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              Jeremy Mikola
              Reporter:
              Jeremy Mikola
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: