XF 1.4 Show only month and year for date joined

How can I edit $user.register_date to show month and year only? I only want this change enabled in the postbit, so I'm only editing one template.
Ah, but that kills the feature that shows the date as "Friday" etc, if the member joined less than a few days ago. Any way to keep both features?


XenForo moderator
Staff member
There is no additional query involved in that code - the data is already exposed to the template, it is just being manipulated based on a condition.