removing trailing spaces. fixing get_hour_from_divdata formatting