Bug #23603 Bug Fixed

comment_date format not rendering

Version: 4.2.1 Reporter: The Design Core

{comment_date format="%M %d, %Y @ %g:%i %a"} displays as code and does not render the date. Removing format=”%M %d, %Y @ %g:%i %a” will render, but adding the format breaks it.

Other comment fields such as {comment}, & {url_as_author} render correctly.

  • On line 1700 of system/ee/legacy/libraries/Template.php, just after:

    $this->search_fields = $this->tag_data[$i]['search_fields'];

    add:

    $this->date_vars        = [];
    $this->modified_vars    = [];
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases