• Page 1 of 1
  • 1
Post Date.
KatrinL
Posts: 20
Reputation: 0

Message # 1 | 9:52 PM
Is it possible to change the date format in the forum?
Instead of "Today, 3:18 PM" i want - "Feb. 2011"
Instead of "Sat, 12/Feb/2011, 4:25 PM" - "Feb. 2011"
Thank you : )
Animorph
Posts: 2856
Reputation: 189

Message # 2 | 0:13 AM
KatrinL, you can do it almost like that

First step:
go to CP ---> Settings ----> Common Settings and Date and time format: 25.feb.2005 and press save

Second Step:
go to CP ---> Design ---> Design management (templates) ---> Forum ---> Appearance of entries

Find:

Code
Date: $WDAY$, $DATE$, $TIME$

Replace by:
Code
Date:$DATE$,$YEAR$

To busy building a passive income online ;)
kostova
Posts: 97
Reputation: 9

Message # 3 | 7:13 AM
Code
<?substr($DATE$,3,-5)?>.$YEAR$
Replace the first code that Animorph told you to find with the code I provided above.

This snippet should work out just fine without resorting to conditional operators. As for the "Today" portion; go to Control Panel and under Common Settings uncheck Display current date as "Today": and don't change the other date settings.

Your welcome.

KatrinL
Posts: 20
Reputation: 0

Message # 4 | 3:19 PM
thank you, guys smile

Added (2011-02-14, 9:19 Am)
---------------------------------------------
hmmm... i changed the date format in forum threads, but is it possible to do the same with the rest of the forum? On the front page of my forum (updates column) i can still see week day and time.

Animorph
Posts: 2856
Reputation: 189

Message # 5 | 3:39 PM
KatrinL, no, sorry but that is not possible to change
To busy building a passive income online ;)
KatrinL
Posts: 20
Reputation: 0

Message # 6 | 11:01 PM
ok...not a big deal : )
Animorph
Posts: 2856
Reputation: 189

Message # 7 | 1:22 PM
trashed and locked KatrinL, PM me if you want to re-open this :)
To busy building a passive income online ;)
  • Page 1 of 1
  • 1
Search: