i think bettas would be boiled alive if you left them in the sun, mine catch a sun beam or two when the afternoon comes, but its nice and cool in my room, so i dont really worry about them getting sunburn
Your not really supposed to put any tank in direct sunlight. It produces heck lots of algae. Well thats what I have heard lol. Or maybe the glass magnifies the light and you have a nice fish treat.