- Joined
- Jul 28, 2020
- Messages
- 149
- Points
- 53
Reputation:
hi everyone, anyone can help me with removal of the day from the join date in postbit?
For example now it shows "Joined: Nov 25, 2022", how to make it say "Joined: Nov 2022" in only postbit?
I found some code but its not active in XF2.2
https://xenforo.com/community/threads/postbit-user-info-join-date-show-only-month-and-year-not-day.128210/post-1147133
tyty
For example now it shows "Joined: Nov 25, 2022", how to make it say "Joined: Nov 2022" in only postbit?
I found some code but its not active in XF2.2
https://xenforo.com/community/threads/postbit-user-info-join-date-show-only-month-and-year-not-day.128210/post-1147133
Code:
{xen:if '{$user.register_date} < {xen:calc '{$serverTime} - 86400 * 7'}', '{xen:date $user.register_date, 'M Y'}', '{xen:date $user.register_date}'}
tyty