title: SwiftUI Datepicker changes format after selecting date
body: <p>I've implemented a DatePicker with SwiftUI.
  It works for the most part as is should, but when selecting a specific date, e.g 26. Nov 2019, it changes the format of the displayed date text.</p>
  <hr />
  <p>Exampels:</p>
  <p>Expected: 26. Nov 2019</p>
  <p>Got: 26.11.2019</p>
  <p>Expected 27. Nov 2019</p>
  <p>Got: 27. Nov 2019</p>
  <hr />
  <p>I have tried using the environment with a specific locale but it did not fix it.</p>
  <p>Building my own DatePicker works, but it's not what I want.</p>
  <p>The DatePicker also print this in the console:</p>
  <pre><code>UIDatePicker is being laid out below its minimum width of 280. This may not look like expected, especially with larger than normal font sizes.
  </code></pre>
  <p>This is my SwiftUI code:</p>
  <pre><code>private struct GeneralSection: View {
      @ObservedObject var viewController: SettingsViewController
      
      var body: some View {
          Section(header: Text(&quot;General&quot;)) {
              TextField(&quot;Name&quot;, text: $viewController.coupleName)
              DatePicker(LocalizedStringKey(&quot;Date&quot;),
                         selection: $viewController.coupleDate,
                         in: ...Date(),
                         displayedComponents: .date)
          }
      }
  }
  </code></pre>
  <hr />
  <p><a href="https://i.stack.imgur.com/6lXsB.gif" rel="nofollow noreferrer">Gif from this problem</a></p>