forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: cdenfert on August 17, 2004, 06:06:26 pm

Title: [Solved]: Date format?
Post by: cdenfert on August 17, 2004, 06:06:26 pm
Is it possible to change the date format?

(like dd/mm/yyyy)

thanks
Title: Re: Date format?
Post by: Nibbler on August 17, 2004, 06:15:36 pm
All defined in your language file eg. /lang/english.php under:

Code: [Select]
// The various date formats
Title: Re: Date format?
Post by: Joachim Müller on August 17, 2004, 06:16:21 pm
yes, edit lang/yourlanguage.php (e.g. english.php) and find
Code: [Select]
// The various date formats
// See http://www.php.net/manual/en/function.strftime.php to define the variable below
$album_date_fmt =    '%B %d, %Y';
$lastcom_date_fmt =  '%m/%d/%y at %H:%M'; //cpg1.3.0
$lastup_date_fmt = '%B %d, %Y';
$register_date_fmt = '%B %d, %Y';
$lasthit_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.3.0
$comment_date_fmt =  '%B %d, %Y at %I:%M %p'; //cpg1.3.0
Edit accordingly. Refer to the link given (PHP manual) to find out more about date and time formats.

GauGau
Title: Re: Date format?
Post by: cdenfert on August 17, 2004, 06:37:44 pm
thanks you  :D