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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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
:)