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

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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