Drupal 5.1
Basic Event 5.x-1x-dev

- user: admin
- Create content | Event | Preview
- date/time displayed in preview is correct (reflects Event form input)

- user: authenticated
- Create content | Event | Preview
- date/time displayed in preview is not correct (does not reflect Event form input); date/time is fixed depending on timezone (31 December, 1969 - 19:00 for GMT/UCT -5)

Could not find this reported in the list despite search. Please excuse if this is a repeat.

Comments

killes@www.drop.org’s picture

Status: Active » Fixed

The described behaviour is correct. You have chosen to display the event in the user's timezone. Therefore events are displayed with appropriate offset. That includes the preview.

jody lynn’s picture

I had this same problem and was not using user timezones. I fixed it by adding these two lines into case view of event_nodeapi. Preview mode was not seeming to figure out what $node->event_start and end were otherwise.

 case 'view':
      event_validate_form_date($node, 'start');
      event_validate_form_date($node, 'end'); 
Anonymous’s picture

Status: Fixed » Closed (fixed)