title: Having issues with AM/PM with DateTimeOffset.TryParseExact
body: <p>I have some code that I want to test for a valid time and for some reason it works for dates with PM's but not AM.</p>
  
  <p>So I'm taking in formats that correspond to this format: </p>
  
  <p>6/1/2018 12:00:00 PM</p>
  
  <p>However for some reason or another this is working great when it's PM but when I replace it with AM it breaks. The format in acceptableformats I'm accepting it to hit is:</p>
  
  <p>M/d/yyyy HH:mm:ss tt</p>
  
  <p>The below fails saying that it's false:</p>
  
  <pre><code>      DateTimeOffset dateTimeResult;
          var acceptableFormats = new string[] {
                              "yyyy-MM-dd'T'HH:mm:ss.FFFK",
                              "M/d/yyyy HH:mm:ss",
                              "MM/dd/yyyy HH:mm:ss",
                              "M/d/yyyy HH:mm:ss tt",
                              "MM/dd/yyyy HH:mm:ss tt",
                              "yyyy-MM-dd' 'HH:mm:ss.FFFK",
                              "yyyy-MM-dd'T'HH:mm:ssK",
                              "yyyy-MM-dd' 'HH:mm:ssK",
                              "yyyy-MM-dd'T'HH:mm:ss",
                              "yyyy-MM-dd' 'HH:mm:ss",
                              "yyyy-MM-dd'T'HH:mm",
                              "yyyy-MM-dd' 'HH:mm",
                              "yyyy-MM-dd'T'HH",
                              "yyyy-MM-dd' 'HH",
                              "yyyy-MM-dd",
                              "yyyy-MM-dd",
                              "yyyyMMdd",
                              "MM/dd/yyyy",
                              "M/d/yyyy",
                              "yyyy-MM",
                              "yyyy" };
          DateTimeOffset dateTimeResult;
          var timeOffset = DateTimeOffset.TryParseExact("6/1/2018 12:00:00 AM", acceptableFormats, CultureInfo.InvariantCulture, DateTimeStyles.None, out dateTimeResult);
  </code></pre>
  
  <p>This works says it's true:</p>
  
  <pre><code>      DateTimeOffset dateTimeResult;
          var acceptableFormats = new string[] {
                              "yyyy-MM-dd'T'HH:mm:ss.FFFK",
                              "M/d/yyyy HH:mm:ss",
                              "MM/dd/yyyy HH:mm:ss",
                              "M/d/yyyy HH:mm:ss tt",
                              "MM/dd/yyyy HH:mm:ss tt",
                              "yyyy-MM-dd' 'HH:mm:ss.FFFK",
                              "yyyy-MM-dd'T'HH:mm:ssK",
                              "yyyy-MM-dd' 'HH:mm:ssK",
                              "yyyy-MM-dd'T'HH:mm:ss",
                              "yyyy-MM-dd' 'HH:mm:ss",
                              "yyyy-MM-dd'T'HH:mm",
                              "yyyy-MM-dd' 'HH:mm",
                              "yyyy-MM-dd'T'HH",
                              "yyyy-MM-dd' 'HH",
                              "yyyy-MM-dd",
                              "yyyy-MM-dd",
                              "yyyyMMdd",
                              "MM/dd/yyyy",
                              "M/d/yyyy",
                              "yyyy-MM",
                              "yyyy" };
          DateTimeOffset dateTimeResult;
          var timeOffset = DateTimeOffset.TryParseExact("6/1/2018 12:00:00 PM", acceptableFormats, CultureInfo.InvariantCulture, DateTimeStyles.None, out dateTimeResult);
  </code></pre>