Ramadan or no Ramadan, the shorts or short pants lower than knees and above ankle are THE lower garment all muslim men should wear all the time

Something between knee and ankles (mid shin) is perfect for even attending prayers in masjid.

So no issues if the short pants are lower then knees and are ending mid or lower mid of your shin.

Just for all muslim brothers, any lower garment lower than ankles is hell fire (NOT only in prayers) established from authentic hadidths.

Hope this helps