[Solved]: Altering date information on Last Additions? [Solved]: Altering date information on Last Additions?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: Altering date information on Last Additions?

Started by crl, September 25, 2008, 12:08:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

crl

Is there a way to alter the date information on the Last Additions. Ideally I am looking for a way to add "added" as a prefix to the date. i.e "Sep 25, 2008" becomes "added Sep 25, 2008"

Nibbler

Modify your language file eg. lang/english.php

crl

thanks nibbler
please could you be more specific of which line and coding is to changed?

Nibbler

Change

$lastup_date_fmt = '%B %d, %Y';

to

$lastup_date_fmt = 'added %B %d, %Y';

crl

thank you so much!
your coding did the trick!

crl
:)