Convert number of hours in configuration properly