Problem/Motivation

    // Fall back to the 'medium' date format type if the format string is
    // empty, either from not finding a requested date format or being given an
    // empty custom format string.
    if (empty($format)) {
      $format = $this->dateFormat('fallback', $langcode)->getPattern();
    }

Comment and code don't agree about which format is being used.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Issue fork drupal-3460246

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

joachim created an issue. See original summary.

Prem Suthar made their first commit to this issue’s fork.

Prem Suthar changed the visibility of the branch 3460246-incorrect-docs-in to hidden.

Prem Suthar changed the visibility of the branch 3460246-incorrect-docs-in to active.

prem suthar’s picture

Status: Active » Needs review

Added the Changes for comment as per the used Format.

afeijo’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

  • quietone committed 0a7a4d5d on 10.3.x
    Issue #3460246 by Prem Suthar, joachim, afeijo: incorrect docs in...

  • quietone committed 7e4e898d on 10.4.x
    Issue #3460246 by Prem Suthar, joachim, afeijo: incorrect docs in...

  • quietone committed 4053a879 on 11.0.x
    Issue #3460246 by Prem Suthar, joachim, afeijo: incorrect docs in...

  • quietone committed 5f17c3a2 on 11.x
    Issue #3460246 by Prem Suthar, joachim, afeijo: incorrect docs in...
quietone’s picture

Version: 11.0.x-dev » 10.3.x-dev

Thanks for getting this correction done quickly!

quietone’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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