Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Change date format  (Read 8671 times)

0 Members and 1 Guest are viewing this topic.

biellebrunner

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

Hi.
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 functions.inc.php, 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.
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
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'].
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.