• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Postbit user info join date - show only month and year, not day?

island

Active member
#1
I have join date shown in the postbit under the username, but I'd like to change it to show only month and year, and not the day the user joined. How do I change this?
 

island

Active member
#3
Thanks. I found just now another solution with a template edit of message_user_info

You could use this, in place of what I posted above:

Code:
{xen:if '{$user.register_date} < {xen:calc '{$serverTime} - 86400 * 7'}', '{xen:date $user.register_date, 'M Y'}', '{xen:date $user.register_date}'}