Can someone help convert the following excellent xf 1.4/1.5 code to work in the xf 2.3.10 message macros template:
The purpose is to display Join Date as Month Year instead of Month Day Year, while maintaining Today and Yesterday for those join dates in the postbit only
Code:{xen:if '{$user.register_date} < {xen:calc '{$serverTime} - 86400 * 7'}', '{xen:date $user.register_date, 'M Y'}', '{xen:date $user.register_date}'}
The purpose is to display Join Date as Month Year instead of Month Day Year, while maintaining Today and Yesterday for those join dates in the postbit only