At least a much time there as time to get there. Not the round trip time.
Preferably, at least as much time there as round trip time. However, I have violated this, so it is clearly not my limit.
Technically, I have stayed for shorter times. Those were not "for fun" trips and had important goals attached.
I am also discounting all one-way trips of less than an hour.