IMO There is really no reason to be on the trainer nearly as long as on an outdoor ride.
There is no coasting, braking, downhills, stop signs curves...all those things that give you a little break throughout a ride. Try to figure out how much of your outdoor rides are ACTUALLY spent at a given level of effort. It's not the whole time.
An hour on the trainer is generally more than enough.

