Advanced search  


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

Pages: [1]   Go Down

Author Topic: Change date format  (Read 1062 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 42
Change date format
« on: February 12, 2017, 01:08:21 am »

Currently, the date format reads something like "11 Feb, 2017". I'd like for it to be just "11 Feb 17".
I found this on, but I'm not 100% if this is what I should be editing (nor exactly what should I change ctime for?):

Code: [Select]
        if (in_array('ctime', $must_have)) {

            $caption .= '<span class="thumb_caption thumb_caption_ctime">' . localised_date($row['ctime'], $lang_date['lastup']) . '</span>';


Could anyone shed some light, please?
Thank you.


  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 799
Re: Change date format
« Reply #1 on: February 12, 2017, 12:54:04 pm »

Date formats are specified in the language file(s).  Look in your language file for $lang_date['lastup'].
Pages: [1]   Go Up

Page created in 0.017 seconds with 21 queries.