calendar limits with 1 hour margin