Update calendar.js

Added daily calculations.
Initial values needed
time_start: '06:00',
time_end: '22:00',
time_split: '30'

THe restart are calculated automatically.