so this is probably a bug not many will encounter. it's the time of year when the sun don't set. and where i live it will be up for two months.
ai(isday) shows 0 for night, which is not such a huge obstacle to come around. however it seems the weather icons use this info to show day or night and therefore is stuck on night for the next two months.
the weather component i use has a switch for night mode and if i set off it shows day, but if i try to make a formula to when to be off or on it shows as off whatever i put in, but still shows night mode in widget