Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Solved]: Date format?  (Read 3117 times)

0 Members and 1 Guest are viewing this topic.

cdenfert

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
[Solved]: Date format?
« on: August 17, 2004, 06:06:26 pm »

Is it possible to change the date format?

(like dd/mm/yyyy)

thanks
« Last Edit: August 18, 2004, 08:04:25 am by GauGau »
Logged

Nibbler

  • Guest
Re: Date format?
« Reply #1 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Date format?
« Reply #2 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
Logged

cdenfert

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Date format?
« Reply #3 on: August 17, 2004, 06:37:44 pm »

thanks you  :D
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.