SMF Support > SMF 2.0.x Support

Update to last_post

(1/1)

mageguild:
I would like to make a small change to the way $board['last_post']['time'] renders.  This outputs something like this:  June 10, 2012, 03:54 PM.  I would like to update it so it will output this: 

--- Code: ---<span class="lastpostdate">June 10, 2012</span>, <span class="lastposttime">03:54 PM</span>. 

--- End code ---

Arantor:
It's not a small change, since that time is taken from timeformat() which is used in like a million places in SMF and it always does the same.

You'd either have to modify it the same everywhere or implement almost a copy of it again to format time/date like you want...

Navigation

[0] Message Index

Go to full version