Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Need replace
$account->content['summary']['member_for']['#value'] = check_plain(strftime('%B %Y', $account->created));
to
$account->content['summary']['member_for']['#value'] = t(check_plain(strftime('%B', $account->created))) . check_plain(strftime(' %Y', $account->created));
Comments
Comment #1
quotesBro CreditAttribution: quotesBro commentedI'd say, need to replace strftime() with format_date(). And let module' administrator to set custom date format.
I personally use this code (D7):