my event flexinode is added to all calendar events; i have also added a date/time field (called "game time"). when i create a new event using my flexinode, i set the the start time to 6pm using the date/time field automatically generated by the event module. i then set "game time" to 7pm. depending on how "Configurable Time Zones" are set, the display of the "game time" varies.

if i disable CZTs, the "game time" field is displayed incorrectly at 6pm.
if i enable CTZs, "game time" is left alone and displays correctly.

the timestamp for "game time" does not change in the database; it remains 1137636000, which converts to Jan 18, 2006, 6:00pm

also, when i enable CTZs, the date formats at the bottom of the Settings page move ahead 1 hour (instead of being at 11:45 am, they are at 12:45 pm). (but the "game time" displays correctly.)

(just to check things: with CTZs enabled, the "Authored on" field in a new node is 1 hour ahead (1:05pm instead of 12:05pm, the correct time; and the timestamp is correct in the db: 12:05). when i disable CTZs, the "Authored on" field is correct; again, the timestamp is correct. the problem is how the time in my created field is being displayed, and it's changing as a function of the setting for CTZs.

(tested on 2 different installs of drupie 4.6, using the latest event module)

Comments

t.a. barnhart’s picture

Title: Configurable Time Zones makes time settings wrong » Editing node keeps changing the time

if i enter the time incorrectly -- 8pm instead of 7pm -- the node's display then reads "7pm".
but if i then edit the event, the date/time field now contains 7pm -- and when i click Submit, the node's display reads 6pm.

at no point does the timestamp in the database change -- it's correctly set for pm.

killes@www.drop.org’s picture

Status: Active » Closed (fixed)

This version of event.module is no longer supported. Please update your site. If the issue is still valid, don't hesitate to re-open it against a more recent version.