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: Wrong date being displayed  (Read 2242 times)

0 Members and 1 Guest are viewing this topic.

bsvee

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
    • gallery.svee.org
Wrong date being displayed
« on: January 20, 2007, 06:26:02 pm »

For some time CPG has been displaying the wrong date everywhere. I can create a test comment, the correct date is saved in the cpg_comments.msg_date column but when it's displayed on a page it is back by three weeks.

Below is a screenshot from the config page. This should be displaying Jan 20, 2007 at 10:53 AM. My WordPress install displays dates properly.

Have I mucked something up or is there a configuration that is off? Do I need to ask my ISP to do something? I'm using Coppermine Photo Gallery 1.4.10 (stable).

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.svee.org%2Fdownload%2Fdateissue.jpg&hash=b64f4f70b5c52836857807caef578c457938043a)
« Last Edit: January 20, 2007, 06:56:06 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Wrong date being displayed
« Reply #1 on: January 20, 2007, 06:31:59 pm »

Well, you have set the offset to minus six hundred hours, which is about 3 weeks. This is to be expected. Set it to your actual timezone offset in hours.
Logged

bsvee

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
    • gallery.svee.org
Re: Wrong date being displayed
« Reply #2 on: January 20, 2007, 06:50:45 pm »

Uh, yeah, that did it.  ::)

I apparently misinterpreted the following, which I looked up for my time zone, so I chose -600 as a value.

Date&time: Sat, 20 Jan 2007 11:49:36 -0600 (CST)

from http://twiki.org/cgi-bin/xtra/tzdate?tz=America/Chicago

Thank you for the correction.
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 19 queries.