Answers.Body: <p>Check:</p>
  
  <p>templates/CRM/Activity/Calendar/ICal.tpl</p>
  
  <p>I just took a quick look there and seems like the duration is not taken into account at all, which is a bug :(</p>
  
  <p>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</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-20T13:19:14.473Z
Answers.Text: For completeness, here's the issue on the tracker: https://issues.civicrm.org/jira/browse/CRM-15703
Answers.UserDisplayName: John
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-05T16:35:33.567Z
Answers.LastActivityDate: 2015-05-05T16:35:33.567Z
Answers.UserDisplayName: Donald Lobo
Body: <p>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</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-05-05T13:54:46.190Z
Comments.Text: did you set a duration in the activity?
Comments.UserDisplayName: Xavier
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-05-20T13:25:59.117Z
Comments.Text: As a side-note, are you really using Drupal 4.7? That version has not been supported for a very long time.
Comments.UserDisplayName: John
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-06-26T16:42:19.180Z
Comments.Text: Hello John,Sorry it's Drupal 7.36.
Comments.UserDisplayName: HashKey
Tags: <civimail><activities>
Title: Activity iCal : Start time = End time
ThreadText: # Activity iCal : Start time = End time
  
  (Asked by: username_0 on 2015-05-05)
  
  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
  
  **Tags:** civimail, activities
  
  > **Comments:**
  > **username_1**: did you set a duration in the activity?  
  > **username_2**: As a side-note, are you really using Drupal 4.7? That version has not been supported for a very long time.  
  > **username_0**: Hello username_2,Sorry it's Drupal 7.36.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2015-05-05. Score: 1
  
  Check:
  
  templates/CRM/Activity/Calendar/ICal.tpl
  
  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
  
  > **Comments:**
  > **username_2**: For completeness, here's the issue on the tracker: https://issues.civicrm.org/jira/browse/CRM-15703  
  
  ---
  
  