the veiw works and times are sorted into hours and minutes