Setting start and end times for tasks in the calendar widget/changing the tasks' duration in the calendar

I’m using the calendar widget, and I have noticed that, when switching to week/day view, all tasks appear as 30 minute tasks. I would like to be able to change the tasks’ duration, defining a start and end time