title: SwiftUI IPadOS app change text based on orientation
body: <p>I'd like to change Text displayed based on device orientation. A visual will describe what I am trying to achieve better :)</p>
  
  <p>Here is landscape mode <a href="https://i.stack.imgur.com/oVql1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oVql1.png" alt="landscape mode"></a>
  And here is portrait mode <a href="https://i.stack.imgur.com/ejn82.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ejn82.png" alt="portrait mode"></a></p>
  
  <p>I'd like to display a short format for the month name in portrait mode and have found various posts describing how to achieve this by detecting device orientation. I also found that this is not in the best practice category so wondering if there is a better way.
  Code is just a VStack with two Text components inside a ScrollView.</p>