Wrong date being displayed Wrong date being displayed
 

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]

Main Menu

Wrong date being displayed

Started by bsvee, January 20, 2007, 06:26:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bsvee

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://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.svee.org%2Fdownload%2Fdateissue.jpg&hash=b64f4f70b5c52836857807caef578c457938043a)

Nibbler

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.

bsvee

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.