CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Drupal Calendar module, month view, event shifting to next day
Pages: [1]

Author Topic: Drupal Calendar module, month view, event shifting to next day  (Read 2781 times)

thomjoh

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
Drupal Calendar module, month view, event shifting to next day
September 13, 2010, 10:31:00 pm
I have integrated the databases of CiviCRM and Drupal, so the Drupal Calendar module can display CiviCRM events. In my list of Views I have a "civicrm_events" view with several displays, such as "Upcoming events", "Events block" and "Month view". Everything works fine except one thing.

In the month view, if I have an event that starts at 16:00, it displays on the next day (my timezone is UTC+8). I use Drupal 6.19 and CiviCRM 3.1.6.

Thanks for any hint or help!
« Last Edit: September 13, 2010, 10:39:27 pm by thomjoh »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Drupal Calendar module, month view, event shifting to next day
September 14, 2010, 06:40:51 am

does the event within civicrm have the right time? if so, the bug can then be isolated to the integration code between civievent and views2

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

thomjoh

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
Re: Drupal Calendar module, month view, event shifting to next day
September 14, 2010, 04:17:22 pm
Yes, the event within civicrm has the right time. The time shows correctly in the list of upcoming events and the details, too. Only in the calendar view it swaps to the next day. I also tried the latest version of the Calendar module (6.x-2.x-dev).
« Last Edit: September 14, 2010, 04:19:14 pm by thomjoh »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Drupal Calendar module, month view, event shifting to next day
September 14, 2010, 06:05:15 pm

ok, so seems like it is an issue with the integration code. would be great if you can debug the code and track it down (if not a developer, consider hiring someone to take a look and fix)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
RE: Drupal Calendar module, month view, event shifting to next day
March 11, 2011, 08:05:15 am
I'm having the same issue.  Event list shows date correctly, calendar block shows the event 1 day before the actual date.  Changing the time to later in the day removes the error so it think it is a timezone issue or a rounding issue.  checked timezone and correct in drupal, user timezones are disabled. I found this note http://drupal.org/node/911934 which solves the issue but throws the timezone off everywhere else.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Drupal Calendar module, month view, event shifting to next day

This forum was archived on 2017-11-26.