Problem/Motivation

It should be possible to use this function with anything extending DateTimeInterface

Issue fork drupal-3349507

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

acbramley created an issue. See original summary.

acbramley’s picture

Status: Active » Needs review
smustgrave’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Needs Review Queue Initiative

Good catch!

  • catch committed f56f3494 on 10.1.x
    Issue #3349507 by acbramley: DateTimePlus::createFromDateTime should...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Makes sense.

Committed f56f349 and pushed to 10.1.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.