changed time pattern to hour in day (0-23)