Customize a start and end date

Out-of-the-box calendar reports support multi-day events.

About this task

For example, a change request with a Work Start date Monday and a Work End date Tuesday is displayed on both days when viewed in a Calendar field. However, when two custom fields named First Date and Last Date are used, the same behavior does not occur.

To achieve the multi-day span behavior in a calendar report with custom fields, name the fields in the following way:

  • u_first_date → u_my_start_date
  • u_last_date → u_my_end_date

The code looks for an ending field with exactly the same name as the start date field, except using the word end instead of start. If the custom fields are My Start Date and My End Date, the system correctly interprets the meaning of these fields because their names are exactly the same except for the word start and end.