Reply to thread

Nevermind.


I would suggest updating the manual to have Designers > Template functions.

[URL unfurl="true"]https://xenforo.com/docs/dev/designing-styles/[/URL]


As there might be even more functions out there available for us to use without us knowing, and only believing conditionals can be used.


No way I could've been able to find

{{ date(date_from_format('Y-m-d', $user.Profile.custom_fields.testDate), 'M d, Y') }}

To display Sep 12, 2024 (or F in the place of M for September 12, 2024)


Without the help of the community

https://xenforo.com/community/threads/date-format-for-custom-thread-fields.225505/#post-1709260 ([USER=1059]@Kirby[/USER])


Close suggestion, or revamp my suggestion to update the manual accordingly for date display using the date() / date_from_format() functions.


Back
Top Bottom