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: [Fixed]: %e in date formats  (Read 13649 times)

0 Members and 1 Guest are viewing this topic.

Nibbler

  • Guest
[Fixed]: %e in date formats
« on: February 23, 2008, 02:39:40 pm »

%e is not supported on windows (apparently) for strftime() so we need to use an alternative such as %#d. The lang files affected are

english_gb
polish
finnish
french
swedish
« Last Edit: February 29, 2008, 08:24:33 am by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: %e in date formats
« Reply #1 on: February 23, 2008, 05:43:22 pm »

%e is PHP5.1 only, so yes: this should be fixed as you suggested.
Logged

Nibbler

  • Guest
Re: %e in date formats
« Reply #2 on: February 23, 2008, 05:49:08 pm »

It's a strftime 'e' which is different to the date 'e'. I was going to commit the change but svn is apparently not working. Will try again later.
Logged

Nibbler

  • Guest
Re: %e in date formats
« Reply #3 on: February 28, 2008, 10:02:28 pm »

Changed %e to %d in SVN.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.