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: Wrong date being displayed  (Read 2229 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.023 seconds with 21 queries.