F

Improve date() or <xf:date> for templates or store custom field dates as unix timestamps to the day only

  • Thread starter Thread starter frm
  • Start date Start date
F

frm

Guest

I suggest enhancing the date() template function to support PHP-style formatting, or modifying the <xf:date> conditional to include date and format attributes (while retaining time for where it's already used). This would allow it to recognize custom user field dates set in the format 2024-09-12, and format them as something like "September 12, 2024" or "Sep 12, 24", making them more consistent with other dates seen across XenForo

Referenced...

Read more

Continue reading...
 
Similar threads Most view View more
Back
Top Bottom