chiper Member Mar 29, 2018 #1 Hello On the list of posts i need date of the last post to be displayed in numerical form, and not in the form of the day of the week. How can I do it?
Hello On the list of posts i need date of the last post to be displayed in numerical form, and not in the form of the day of the week. How can I do it?
chiper Member Mar 29, 2018 #3 yoloswaggerino said: Numerical form like 29/03/2018? Click to expand... Yes, exactly. Upvote 0 Downvote
S S Thomas Well-known member Mar 29, 2018 #5 List of posts means forum view, like https://xenforo.com/community/forums/xenforo-questions-and-support.25/? If so, go to thread_list_macros and change HTML: <a href="{{ link('threads/latest', $thread) }}" rel="nofollow"><xf:date time="{$thread.last_post_date}" class="structItem-latestDate" /></a> to HTML: <a href="{{ link('threads/latest', $thread) }}" rel="nofollow">{{date($thread.last_post_date)}}</a> Upvote 0 Downvote
List of posts means forum view, like https://xenforo.com/community/forums/xenforo-questions-and-support.25/? If so, go to thread_list_macros and change HTML: <a href="{{ link('threads/latest', $thread) }}" rel="nofollow"><xf:date time="{$thread.last_post_date}" class="structItem-latestDate" /></a> to HTML: <a href="{{ link('threads/latest', $thread) }}" rel="nofollow">{{date($thread.last_post_date)}}</a>