Problem/Motivation

Let's not rely on the undocumented support of strtotime('-2months') and do strtotime('-2 months')

See https://www.php.net/manual/en/function.strtotime.php

Proposed resolution

Make the code consistent with the docs.

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

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

alexpott created an issue. See original summary.

alexpott’s picture

Status: Active » Needs review

  • alexpott committed 19ffc9fe on 2.1.x
    task: #3584692 Consistent strtotime('-2 months')
    
    By: alexpott
    
alexpott’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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