A propane tank will not explode in the sun as the propane tank is designed so that when pressure builds up to a dangerous point the pressure will be automatically relieved through a valve.
It's a very hard thing to do to get a propane tank to actually explode.
Even a fire around a propane tank will normally not cause the propane tank to explode assuming all safety devices on the propane tank are operational.