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

quotesBro’s picture

Version: 6.x-2.6 » 7.x-1.x-dev
Issue summary: View changes

I'd say, need to replace strftime() with format_date(). And let module' administrator to set custom date format.
I personally use this code (D7):

'#markup' => format_date($account['#account']->created, $type = 'custom', $format = 'd.m.Y'),