I work with CiviCRM 4.6 and Drupal 4.7 When I create an activity in CiviCRM, a iCal file is also created and sent. But in this iCal file, Start time = End time. So when I import the file in my calendar the activity doesn't have the right duration. Any idea ? Maybe I can modify a template, but how ? Regards, Hashkey

  • did you set a duration in the activity?
    – Xavier
    Commented May 5, 2015 at 13:54
  • As a side-note, are you really using Drupal 4.7? That version has not been supported for a very long time.
    – John
    Commented May 20, 2015 at 13:25
  • Hello John,Sorry it's Drupal 7.36.
    – HashKey
    Commented Jun 26, 2015 at 16:42

1 Answer 1




I just took a quick look there and seems like the duration is not taken into account at all, which is a bug :(

Can you take a look and see if you can fix it. If so, please do submit a PR against the CiviCRM github repo. I'm pretty sure the activity object will be sending in the duration field. You should also file an issue for this on the CiviCRM issue tracker


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.